Better fix for out of print volume detection

This commit is contained in:
Enrico Turri 2018-08-24 10:03:34 +02:00
parent 16259e6f26
commit 727a5fd997
3 changed files with 11 additions and 14 deletions

View file

@ -3625,7 +3625,7 @@ BoundingBoxf3 GLCanvas3D::_selected_volumes_bounding_box() const
bb.merge(volume->bounding_box);
}
bb = bb.transformed(selected_volumes[0]->world_matrix());
bb = bb.transformed(selected_volumes[0]->world_matrix().cast<double>());
}
else
{