src/primitives.h

changeset 945
c310073e4f22
parent 861
83426c5fa732
child 968
4b93b7963456
--- a/src/primitives.h	Sat Aug 22 15:37:02 2015 +0300
+++ b/src/primitives.h	Sat Aug 22 15:58:50 2015 +0300
@@ -118,10 +118,10 @@
 };
 
 void MakeCircle (int segs, int divs, double radius, QList<QLineF>& lines);
-LDDocumentPtr GeneratePrimitive (PrimitiveType type, int segs, int divs, int num);
+LDDocument* GeneratePrimitive (PrimitiveType type, int segs, int divs, int num);
 
 // Gets a primitive by the given specs. If the primitive cannot be found, it will
 // be automatically generated.
-LDDocumentPtr GetPrimitive (PrimitiveType type, int segs, int divs, int num);
+LDDocument* GetPrimitive (PrimitiveType type, int segs, int divs, int num);
 
 QString MakeRadialFileName (PrimitiveType type, int segs, int divs, int num);

mercurial