Fix a bug in objfile where OBJ file were not the parent of the base group.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user