mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Fixed crash when deserializing a skinned mesh if no mesh is set
This commit is contained in:
@@ -119,6 +119,11 @@ namespace Nuake
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!j.contains("Meshes"))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
for (auto& m : j["Meshes"])
|
||||
{
|
||||
auto mesh = CreateRef<SkinnedMesh>();
|
||||
|
||||
Reference in New Issue
Block a user