From dd19843fe1695013083033b3f6cc601d5669992e Mon Sep 17 00:00:00 2001 From: granzuglia Date: Sat, 9 Aug 2014 09:43:24 +0000 Subject: [PATCH] import_ptx.h: - added support for double scalar type --- wrap/io_trimesh/import_ptx.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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!");