Fix blend shapes transformation applying

#2459
This commit is contained in:
Wojtek Figat
2024-04-20 16:16:01 +02:00
parent 5e086809ae
commit 6aacea99ab
3 changed files with 21 additions and 14 deletions

View File

@@ -589,6 +589,9 @@ bool ModelTool::ImportData(const String& path, ModelData& data, Options& options
{
for (auto& n : mesh->Normals)
n *= -1;
for (auto& shape : mesh->BlendShapes)
for (auto& v : shape.Vertices)
v.NormalDelta *= -1;
}
}
}