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:
sfan5
2023-09-18 21:40:13 +02:00
parent 6f4f7c4d75
commit d767d27ca8
2 changed files with 82 additions and 47 deletions

View File

@ -167,6 +167,8 @@ private:
u32 Line;
io::path FilePath;
bool ErrorState;
CSkinnedMesh::SJoint *CurFrame;
core::array<SXMesh*> Meshes;