diff --git a/source/shapes/objfile.cpp b/source/shapes/objfile.cpp index 01b0f1e..f6727d9 100644 --- a/source/shapes/objfile.cpp +++ b/source/shapes/objfile.cpp @@ -37,6 +37,7 @@ OBJFile::OBJFile() : Shape(Shape::OBJFILE), ignoredLines(0) /* The base group */ this->baseGroup = new Group(OBJ_DEFAULT_GROUP); this->currentGroup = this->baseGroup; + this->baseGroup->parent = this; }; OBJFile::~OBJFile()