Constrained gizmo-scaling -> code cleanup and simplification

This commit is contained in:
Enrico Turri
2019-05-10 13:07:59 +02:00
parent 128da453d5
commit d69c98b48d
16 changed files with 50 additions and 280 deletions

View File

@@ -1046,10 +1046,7 @@ void GLGizmoSlaSupports::on_set_state()
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
void GLGizmoSlaSupports::on_start_dragging(const Selection& selection, const UpdateData::Keys& keys)
//void GLGizmoSlaSupports::on_start_dragging(const Selection& selection)
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
void GLGizmoSlaSupports::on_start_dragging(const Selection& selection)
{
if (m_hover_id != -1) {
select_point(NoPoints);