1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-14 08:34:26 +00:00

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
+1 -4
View File
@@ -37,10 +37,7 @@ bool GLGizmoFlatten::on_is_activable(const Selection& selection) const
return selection.is_single_full_instance();
}
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
void GLGizmoFlatten::on_start_dragging(const Selection& selection, const UpdateData::Keys& keys)
//void GLGizmoFlatten::on_start_dragging(const Selection& selection)
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
void GLGizmoFlatten::on_start_dragging(const Selection& selection)
{
if (m_hover_id != -1)
{