Fixed scaling of multiple selection

This commit is contained in:
Enrico Turri 2019-05-22 13:57:39 +02:00
parent 4e3218a03a
commit 77efc33670

View file

@ -654,7 +654,8 @@ bool GLGizmosManager::on_mouse(wxMouseEvent& evt, GLCanvas3D& canvas)
if (evt.AltDown())
transformation_type.set_independent();
selection.scale(get_scale(), transformation_type);
selection.translate(get_scale_offset(), true);
if (evt.ControlDown())
selection.translate(get_scale_offset(), true);
wxGetApp().obj_manipul()->set_dirty();
break;
}