--- a/src/glCompiler.cc Mon Jun 02 13:00:58 2014 +0300 +++ b/src/glCompiler.cc Mon Jun 02 13:16:14 2014 +0300 @@ -324,10 +324,10 @@ { // Note: We cannot split quads into triangles here, it would mess up the // wireframe view. Quads must go into separate vbos. - case LDObject::ETriangle: - case LDObject::EQuad: - case LDObject::ELine: - case LDObject::ECondLine: + case OBJ_Triangle: + case OBJ_Quad: + case OBJ_Line: + case OBJ_CondLine: { LDPolygon* poly = obj->getPolygon(); poly->id = obj->id(); @@ -336,7 +336,7 @@ break; } - case LDObject::ESubfile: + case OBJ_Subfile: { LDSubfilePtr ref = obj.staticCast<LDSubfile>(); auto data = ref->inlinePolygons();