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 */
|
/* The base group */
|
||||||
this->baseGroup = new Group(OBJ_DEFAULT_GROUP);
|
this->baseGroup = new Group(OBJ_DEFAULT_GROUP);
|
||||||
this->currentGroup = this->baseGroup;
|
this->currentGroup = this->baseGroup;
|
||||||
|
this->baseGroup->parent = this;
|
||||||
};
|
};
|
||||||
|
|
||||||
OBJFile::~OBJFile()
|
OBJFile::~OBJFile()
|
||||||
|
|||||||
Reference in New Issue
Block a user