Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all
Unified · Split
| @@ -2723,13 +2723,14 @@ void Application::displaySide(Camera& whichCamera) { · 2722 unmodified lines | ||
| 2723 | 2723 | if (_mouseVoxel.s != 0) { |
| 2724 | 2724 | glDisable(GL_LIGHTING); |
| 2725 | 2725 | glPushMatrix(); |
| 2726 | + glScalef(TREE_SCALE, TREE_SCALE, TREE_SCALE); | |
| 2727 | + renderMouseVoxelGrid(_mouseVoxel.x, _mouseVoxel.y, _mouseVoxel.z, _mouseVoxel.s); | |
| 2726 | 2728 | if (_addVoxelMode->isChecked()) { |
| 2727 | 2729 | // use a contrasting color so that we can see what we're doing |
| 2728 | 2730 | glColor3ub(_mouseVoxel.red + 128, _mouseVoxel.green + 128, _mouseVoxel.blue + 128); |
| 2729 | 2731 | } else { |
| 2730 | 2732 | glColor3ub(_mouseVoxel.red, _mouseVoxel.green, _mouseVoxel.blue); |
| 2731 | 2733 | } |
| 2732 | − glScalef(TREE_SCALE, TREE_SCALE, TREE_SCALE); | |
| 2733 | 2734 | glTranslatef(_mouseVoxel.x + _mouseVoxel.s*0.5f, |
| 2734 | 2735 | _mouseVoxel.y + _mouseVoxel.s*0.5f, |
| 2735 | 2736 | _mouseVoxel.z + _mouseVoxel.s*0.5f); |