ENH: support single-sided modal scaling

Change-Id: I746cfbb53d761abe2e7bf7cad391f9a37d821b3d
This commit is contained in:
liz.li 2023-01-04 12:16:02 +08:00 committed by Lane.Wei
parent ebaae57b01
commit 674348c575

View file

@ -836,8 +836,8 @@ bool GLGizmosManager::on_mouse(wxMouseEvent& evt)
//if (evt.AltDown())
// transformation_type.set_independent();
selection.scale(get_scale(), transformation_type);
//if (control_down)
// selection.translate(get_scale_offset(), true);
if (control_down && m_gizmos[m_current].get()->get_hover_id() < 6)
selection.translate(get_scale_offset(), true);
// BBS
//wxGetApp().obj_manipul()->set_dirty();
break;