Fixed rotation of multivolumes selection - Added local rotation by pressing Alt key while dragging the rotate gizmo

This commit is contained in:
Enrico Turri 2018-11-20 11:57:01 +01:00
parent aa22f75829
commit b961d1011a
3 changed files with 13 additions and 7 deletions

View file

@ -416,7 +416,7 @@ void ObjectManipulation::change_rotation_value(const Vec3d& rotation)
rad_rotation(i) = Geometry::deg2rad(rotation(i));
auto canvas = _3DScene::get_canvas(wxGetApp().canvas3D());
canvas->get_selection().start_dragging();
canvas->get_selection().rotate(rad_rotation);
canvas->get_selection().rotate(rad_rotation, false);
canvas->_on_rotate();
}