Skip to content

Commit 25c6161

Browse files
committed
Fix double-click element selection in SolutionScene
1 parent 3fadd39 commit 25c6161

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libsrc/visualization/vssolution.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4798,6 +4798,12 @@ namespace netgen
47984798
return true;
47994799
};
48004800

4801+
glDisable(GL_TEXTURE_1D);
4802+
glDisable(GL_TEXTURE_2D);
4803+
glDisable(GL_FOG);
4804+
glDisable(GL_LIGHTING);
4805+
glDisable (GL_COLOR_MATERIAL);
4806+
48014807
RenderSurfaceElements(mesh, subdivisions, face_init, sel_init);
48024808

48034809
glEndList();

0 commit comments

Comments
 (0)