diff --git a/plugins/Assimp/Plugin.cpp b/plugins/Assimp/Plugin.cpp index fbffe27fd..44a8a7062 100644 --- a/plugins/Assimp/Plugin.cpp +++ b/plugins/Assimp/Plugin.cpp @@ -862,7 +862,7 @@ Nz::Result, Nz::ResourceLoadingError> LoadMesh(Nz::Str unsigned int jointIndex = 0; std::unordered_set seenNodes; - Nz::Matrix4f transformMatrix = Nz::Matrix4f::Transform({}, Nz::Quaternionf::Identity(), parameters.vertexScale); + Nz::Matrix4f transformMatrix = Nz::Matrix4f::Scale(parameters.vertexScale); Nz::Matrix4f invTransformMatrix = Nz::Matrix4f::TransformInverse(parameters.vertexOffset, parameters.vertexRotation, parameters.vertexScale); mesh->CreateSkeletal(Nz::SafeCast(skeletalRoot.totalChildrenCount + 1));