src/basics.cpp

changeset 1011
4fdd74a04790
parent 1010
969b48eddd6b
child 1013
fa025ba493d8
child 1217
314e12e23c3a
--- a/src/basics.cpp	Sun Oct 04 22:54:17 2015 +0300
+++ b/src/basics.cpp	Sat Oct 24 13:19:27 2015 +0300
@@ -259,8 +259,8 @@
 			calcVertex (obj->vertex (i));
 		break;
 
-	case OBJ_Subfile:
-		for (LDObject* it : static_cast<LDSubfile*> (obj)->inlineContents (true, false))
+	case OBJ_SubfileReference:
+		for (LDObject* it : static_cast<LDSubfileReference*> (obj)->inlineContents (true, false))
 		{
 			calcObject (it);
 			it->destroy();

mercurial