Use Transform3d in place of Transform3f as parameter of mesh transform functions

This commit is contained in:
Enrico Turri 2018-11-02 13:47:47 +01:00
parent 3aad8b5fd2
commit 7114b80882
7 changed files with 15 additions and 15 deletions

View file

@ -1256,7 +1256,7 @@ void GLGizmoFlatten::update_planes()
#if ENABLE_MODELVOLUME_TRANSFORM
{
TriangleMesh vol_ch = vol->get_convex_hull();
vol_ch.transform(vol->get_matrix().cast<float>());
vol_ch.transform(vol->get_matrix());
ch.merge(vol_ch);
}
#else