mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 10:47:50 -06:00
ENH:Gizmo shortcut key added
Change-Id: I4d089ef521b16d3ffedd07ba8b22043b899fe7b2 (cherry picked from commit 2f425b8321b3d24d24928185d0c33d54a3a9126b)
This commit is contained in:
parent
7ced9f4e23
commit
cd907bbc9a
8 changed files with 9 additions and 9 deletions
|
@ -174,7 +174,7 @@ bool GLGizmoAdvancedCut::on_init()
|
|||
if (!GLGizmoRotate3D::on_init())
|
||||
return false;
|
||||
|
||||
m_shortcut_key = WXK_NONE;
|
||||
m_shortcut_key = WXK_CONTROL_C;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ std::string GLGizmoFdmSupports::on_get_name() const
|
|||
bool GLGizmoFdmSupports::on_init()
|
||||
{
|
||||
// BBS
|
||||
m_shortcut_key = WXK_NONE;
|
||||
m_shortcut_key = WXK_CONTROL_L;
|
||||
|
||||
m_desc["clipping_of_view"] = _L("Section view") + ": ";
|
||||
m_desc["cursor_size"] = _L("Pen size") + ": ";
|
||||
|
|
|
@ -25,7 +25,7 @@ GLGizmoFlatten::GLGizmoFlatten(GLCanvas3D& parent, const std::string& icon_filen
|
|||
bool GLGizmoFlatten::on_init()
|
||||
{
|
||||
// BBS
|
||||
m_shortcut_key = WXK_NONE;
|
||||
m_shortcut_key = WXK_CONTROL_F;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ void GLGizmoMmuSegmentation::init_extruders_data()
|
|||
bool GLGizmoMmuSegmentation::on_init()
|
||||
{
|
||||
// BBS
|
||||
m_shortcut_key = WXK_NONE;
|
||||
m_shortcut_key = WXK_CONTROL_N;
|
||||
|
||||
m_desc["clipping_of_view"] = _L("Section view") + ": ";
|
||||
m_desc["cursor_size"] = _L("Pen size") + ": ";
|
||||
|
|
|
@ -56,7 +56,7 @@ bool GLGizmoMove3D::on_init()
|
|||
m_grabbers.push_back(Grabber());
|
||||
}
|
||||
|
||||
m_shortcut_key = WXK_NONE;
|
||||
m_shortcut_key = WXK_CONTROL_M;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -466,7 +466,7 @@ bool GLGizmoRotate3D::on_init()
|
|||
m_gizmos[i].set_highlight_color(AXES_COLOR[i]);
|
||||
}
|
||||
|
||||
m_shortcut_key = WXK_NONE;
|
||||
m_shortcut_key = WXK_CONTROL_R;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ bool GLGizmoScale3D::on_init()
|
|||
|
||||
// BBS
|
||||
m_grabbers[4].enabled = false;
|
||||
m_shortcut_key = WXK_NONE;
|
||||
m_shortcut_key = WXK_CONTROL_S;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue