Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 5 files). Show all
Unified · Split
| @@ -363,6 +363,17 @@ void MetavoxelSystem::renderVoxelCursor(const glm::vec3& position, float radius) · 362 unmodified lines | ||
| 363 | 363 | |
| 364 | 364 | DefaultMetavoxelRendererImplementation::getVoxelCursorProgram().release(); |
| 365 | 365 | |
| 366 | + glEnableClientState(GL_TEXTURE_COORD_ARRAY); | |
| 367 | + | |
| 368 | + DefaultMetavoxelRendererImplementation::getHeightfieldCursorProgram().bind(); | |
| 369 | + | |
| 370 | + SpannerCursorRenderVisitor spannerVisitor(bounds); | |
| 371 | + guide(spannerVisitor); | |
| 372 | + | |
| 373 | + DefaultMetavoxelRendererImplementation::getHeightfieldCursorProgram().release(); | |
| 374 | + | |
| 375 | + glDisableClientState(GL_TEXTURE_COORD_ARRAY); | |
| 376 | + | |
| 366 | 377 | glDisableClientState(GL_VERTEX_ARRAY); |
| 367 | 378 | |
| 368 | 379 | glDisable(GL_POLYGON_OFFSET_FILL); |