src/linetypes/modelobject.cpp

changeset 1398
1c70d3447d20
parent 1397
5d5c11af0268
child 1400
ae83213bdd63
equal deleted inserted replaced
1397:5d5c11af0268 1398:1c70d3447d20
29 #include "triangle.h" 29 #include "triangle.h"
30 #include "quadrilateral.h" 30 #include "quadrilateral.h"
31 #include "conditionaledge.h" 31 #include "conditionaledge.h"
32 #include "comment.h" 32 #include "comment.h"
33 #include "empty.h" 33 #include "empty.h"
34 #include "cylinder.h" 34 #include "circularprimitive.h"
35 35
36 // List of all LDObjects 36 // List of all LDObjects
37 QMap<qint32, LDObject*> g_allObjects; 37 QMap<qint32, LDObject*> g_allObjects;
38 38
39 enum { MAX_LDOBJECT_IDS = (1 << 24) }; 39 enum { MAX_LDOBJECT_IDS = (1 << 24) };
354 return new LDEmpty {}; 354 return new LDEmpty {};
355 355
356 case LDObjectType::BezierCurve: 356 case LDObjectType::BezierCurve:
357 return new LDBezierCurve {}; 357 return new LDBezierCurve {};
358 358
359 case LDObjectType::Cylinder: 359 case LDObjectType::CircularPrimitive:
360 return new LDCylinder {}; 360 return new LDCircularPrimitive {};
361 361
362 case LDObjectType::_End: 362 case LDObjectType::_End:
363 break; 363 break;
364 } 364 }
365 365

mercurial