1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-21 09:44:26 +00:00

1st installment of constrained gizmo-scaling

This commit is contained in:
Enrico Turri
2019-05-10 11:13:55 +02:00
parent 244d0e3ecf
commit 128da453d5
16 changed files with 377 additions and 82 deletions
+4 -1
View File
@@ -37,7 +37,10 @@ bool GLGizmoFlatten::on_is_activable(const Selection& selection) const
return selection.is_single_full_instance();
}
void GLGizmoFlatten::on_start_dragging(const Selection& selection)
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
void GLGizmoFlatten::on_start_dragging(const Selection& selection, const UpdateData::Keys& keys)
//void GLGizmoFlatten::on_start_dragging(const Selection& selection)
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
{
if (m_hover_id != -1)
{