src/glRenderer.cpp

changeset 1011
4fdd74a04790
parent 1010
969b48eddd6b
child 1012
413ecd6b9801
--- a/src/glRenderer.cpp	Sun Oct 04 22:54:17 2015 +0300
+++ b/src/glRenderer.cpp	Sat Oct 24 13:19:27 2015 +0300
@@ -1591,7 +1591,7 @@
 	{
 		PrimitiveTreeItem* item = static_cast<PrimitiveTreeItem*> (m_window->getPrimitivesTree()->currentItem());
 		QString primitiveName = item->primitive()->name;
-		LDSubfile* ref = LDSpawn<LDSubfile>();
+		LDSubfileReference* ref = LDSpawn<LDSubfileReference>();
 		ref->setColor (MainColor);
 		ref->setFileInfo (m_documents->getDocumentByName (primitiveName));
 		ref->setPosition (Origin);

mercurial