src/editmodes/drawMode.cc

changeset 945
c310073e4f22
parent 944
1a6f1997fcbe
child 946
9cbd658b63f9
--- a/src/editmodes/drawMode.cc	Sat Aug 22 15:37:02 2015 +0300
+++ b/src/editmodes/drawMode.cc	Sat Aug 22 15:58:50 2015 +0300
@@ -93,7 +93,7 @@
 		case 1:
 		{
 			// 1 vertex - add a vertex object
-			LDVertexPtr obj = LDSpawn<LDVertex>();
+			LDVertex* obj = LDSpawn<LDVertex>();
 			obj->pos = verts[0];
 			obj->setColor (MainColor());
 			objs << obj;
@@ -103,7 +103,7 @@
 		case 2:
 		{
 			// 2 verts - make a line
-			LDLinePtr obj = LDSpawn<LDLine> (verts[0], verts[1]);
+			LDLine* obj = LDSpawn<LDLine> (verts[0], verts[1]);
 			obj->setColor (EdgeColor());
 			objs << obj;
 			break;

mercurial