We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1434106 commit 1d04e56Copy full SHA for 1d04e56
pywavefront/visualization.py
@@ -85,6 +85,7 @@ def draw_material(material, face=GL_FRONT_AND_BACK):
85
glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT)
86
glPushAttrib(GL_CURRENT_BIT | GL_ENABLE_BIT | GL_LIGHTING_BIT)
87
glEnable(GL_CULL_FACE)
88
+ glEnable(GL_DEPTH_TEST)
89
glCullFace(GL_BACK)
90
91
# Fall back to ambient texture if no diffuse
0 commit comments