Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 17 files). Show all
Unified · Split
| @@ -1743,7 +1743,7 @@ int VoxelAugmentVisitor::visit(MetavoxelInfo& info) { · 1742 unmodified lines | ||
| 1743 | 1743 | for (int z = 0; z < expanded; z++) { |
| 1744 | 1744 | const QRgb* colorY = colorZ; |
| 1745 | 1745 | for (int y = 0; y < expanded; y++) { |
| 1746 | − int lastIndex; | |
| 1746 | + int lastIndex = 0; | |
| 1747 | 1747 | const QRgb* colorX = colorY; |
| 1748 | 1748 | for (int x = 0; x < expanded; x++) { |
| 1749 | 1749 | int alpha0 = colorX[0] >> ALPHA_OFFSET; |