mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-09 17:23:50 +01:00
parent
2fec5e5dd3
commit
195759100f
@ -130,7 +130,8 @@ bool CB3DMeshFileLoader::load()
|
||||
else
|
||||
{
|
||||
os::Printer::log("Unknown chunk found in mesh base - skipping");
|
||||
B3DFile->seek(B3dStack.getLast().startposition + B3dStack.getLast().length);
|
||||
if (!B3DFile->seek(B3dStack.getLast().startposition + B3dStack.getLast().length))
|
||||
return false;
|
||||
B3dStack.erase(B3dStack.size()-1);
|
||||
}
|
||||
}
|
||||
@ -226,7 +227,8 @@ bool CB3DMeshFileLoader::readChunkNODE(CSkinnedMesh::SJoint *inJoint)
|
||||
else
|
||||
{
|
||||
os::Printer::log("Unknown chunk found in node chunk - skipping");
|
||||
B3DFile->seek(B3dStack.getLast().startposition + B3dStack.getLast().length);
|
||||
if (!B3DFile->seek(B3dStack.getLast().startposition + B3dStack.getLast().length))
|
||||
return false;
|
||||
B3dStack.erase(B3dStack.size()-1);
|
||||
}
|
||||
}
|
||||
@ -308,7 +310,8 @@ bool CB3DMeshFileLoader::readChunkMESH(CSkinnedMesh::SJoint *inJoint)
|
||||
else
|
||||
{
|
||||
os::Printer::log("Unknown chunk found in mesh - skipping");
|
||||
B3DFile->seek(B3dStack.getLast().startposition + B3dStack.getLast().length);
|
||||
if (!B3DFile->seek(B3dStack.getLast().startposition + B3dStack.getLast().length))
|
||||
return false;
|
||||
B3dStack.erase(B3dStack.size()-1);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user