Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 20 files). Show all
Unified · Split
| @@ -1583,7 +1583,7 @@ int VoxelAugmentVisitor::visit(MetavoxelInfo& info) { · 1582 unmodified lines | ||
| 1583 | 1583 | for (int z = 0; z < expanded; z++) { |
| 1584 | 1584 | const QRgb* colorY = colorZ; |
| 1585 | 1585 | for (int y = 0; y < expanded; y++) { |
| 1586 | − int lastIndex; | |
| 1586 | + int lastIndex = 0; | |
| 1587 | 1587 | const QRgb* colorX = colorY; |
| 1588 | 1588 | for (int x = 0; x < expanded; x++) { |
| 1589 | 1589 | int alpha0 = colorX[0] >> ALPHA_OFFSET; |