mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
SLA supports points batch deletion does not deselect object
This commit is contained in:
@@ -3246,7 +3246,9 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
|
|||||||
if (evt.LeftDown())
|
if (evt.LeftDown())
|
||||||
{
|
{
|
||||||
m_gizmos.delete_current_grabber(true);
|
m_gizmos.delete_current_grabber(true);
|
||||||
m_wait_for_left_up = true;
|
#if ENABLE_GIZMOS_RESET
|
||||||
|
m_mouse.ignore_up_event = true;
|
||||||
|
#endif // ENABLE_GIZMOS_RESET
|
||||||
m_dirty = true;
|
m_dirty = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3543,9 +3545,6 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
|
|||||||
}
|
}
|
||||||
else if (evt.LeftUp() || evt.MiddleUp() || evt.RightUp())
|
else if (evt.LeftUp() || evt.MiddleUp() || evt.RightUp())
|
||||||
{
|
{
|
||||||
if (evt.LeftUp() && m_wait_for_left_up)
|
|
||||||
m_wait_for_left_up = false;
|
|
||||||
else
|
|
||||||
if (m_layers_editing.state != LayersEditing::Unknown)
|
if (m_layers_editing.state != LayersEditing::Unknown)
|
||||||
{
|
{
|
||||||
m_layers_editing.state = LayersEditing::Unknown;
|
m_layers_editing.state = LayersEditing::Unknown;
|
||||||
|
|||||||
@@ -494,7 +494,6 @@ class GLCanvas3D
|
|||||||
bool m_shader_enabled;
|
bool m_shader_enabled;
|
||||||
bool m_dynamic_background_enabled;
|
bool m_dynamic_background_enabled;
|
||||||
bool m_multisample_allowed;
|
bool m_multisample_allowed;
|
||||||
bool m_wait_for_left_up;
|
|
||||||
|
|
||||||
std::string m_color_by;
|
std::string m_color_by;
|
||||||
std::string m_select_by;
|
std::string m_select_by;
|
||||||
|
|||||||
Reference in New Issue
Block a user