src/linetypes/modelobject.cpp

changeset 1398
1c70d3447d20
parent 1397
5d5c11af0268
child 1400
ae83213bdd63
--- a/src/linetypes/modelobject.cpp	Sun Jun 10 16:04:38 2018 +0300
+++ b/src/linetypes/modelobject.cpp	Sun Jun 10 16:50:14 2018 +0300
@@ -31,7 +31,7 @@
 #include "conditionaledge.h"
 #include "comment.h"
 #include "empty.h"
-#include "cylinder.h"
+#include "circularprimitive.h"
 
 // List of all LDObjects
 QMap<qint32, LDObject*> g_allObjects;
@@ -356,8 +356,8 @@
 	case LDObjectType::BezierCurve:
 		return new LDBezierCurve {};
 
-	case LDObjectType::Cylinder:
-		return new LDCylinder {};
+	case LDObjectType::CircularPrimitive:
+		return new LDCircularPrimitive {};
 
 	case LDObjectType::_End:
 		break;

mercurial