diff -r 969b48eddd6b -r 4fdd74a04790 src/basics.cpp --- 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 (obj)->inlineContents (true, false)) + case OBJ_SubfileReference: + for (LDObject* it : static_cast (obj)->inlineContents (true, false)) { calcObject (it); it->destroy();