parent
6a1f720f68
commit
776130534b
|
@ -264,6 +264,9 @@ void X3DImporter::InternReadFile(const std::string &pFile, aiScene *pScene, IOSy
|
||||||
//search for root node element
|
//search for root node element
|
||||||
|
|
||||||
mNodeElementCur = NodeElement_List.front();
|
mNodeElementCur = NodeElement_List.front();
|
||||||
|
if (mNodeElementCur == nullptr) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
while (mNodeElementCur->Parent != nullptr) {
|
while (mNodeElementCur->Parent != nullptr) {
|
||||||
mNodeElementCur = mNodeElementCur->Parent;
|
mNodeElementCur = mNodeElementCur->Parent;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue