diff --git a/wrap/io_trimesh/import_ptx.h b/wrap/io_trimesh/import_ptx.h index 46de0e6b..85f7ac7a 100644 --- a/wrap/io_trimesh/import_ptx.h +++ b/wrap/io_trimesh/import_ptx.h @@ -434,8 +434,9 @@ public: tri::Clean::RemoveUnreferencedVertex(m); } } - Matrix44x tr; tr.Import(currtrasf); - tri::UpdatePosition::Matrix(m,currtrasf,true); + Matrix44x tr; + tr.Import(currtrasf); + tri::UpdatePosition::Matrix(m,tr,true); tri::Allocator::CompactVertexVector(m); tri::UpdateBounding::Box(m); if(cb) cb(100,"PTX Mesh Loading finished!");