mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 00:00:26 +02:00
CXMeshFileLoader: revise error checking
Even when an error was encountered ::load() would still attempt to assemble the mesh, this was a pretty big problem.
This commit is contained in:
@ -167,6 +167,8 @@ private:
|
||||
u32 Line;
|
||||
io::path FilePath;
|
||||
|
||||
bool ErrorState;
|
||||
|
||||
CSkinnedMesh::SJoint *CurFrame;
|
||||
|
||||
core::array<SXMesh*> Meshes;
|
||||
|
Reference in New Issue
Block a user