proper scene graph
[laserbrain_demo] / src / objmesh.cc
index 60fa7f9..3076e67 100644 (file)
@@ -27,6 +27,7 @@ void ObjMesh::draw() const
        mesh->draw();
 
        if(node) {
+               glMatrixMode(GL_MODELVIEW);
                glPopMatrix();
        }
 }