mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 21:27:52 -06:00
Fixed an issue where seed fill selection stuck displayed when the mouse was moving inside multi-material gizmo when the gizmo was overlapping the model.
This commit is contained in:
parent
dca6db8635
commit
f78efa99fe
1 changed files with 3 additions and 2 deletions
|
@ -2912,7 +2912,8 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
|
||||||
#endif /* SLIC3R_DEBUG_MOUSE_EVENTS */
|
#endif /* SLIC3R_DEBUG_MOUSE_EVENTS */
|
||||||
m_dirty = true;
|
m_dirty = true;
|
||||||
// do not return if dragging or tooltip not empty to allow for tooltip update
|
// do not return if dragging or tooltip not empty to allow for tooltip update
|
||||||
if (!m_mouse.dragging && m_tooltip.is_empty())
|
// also, do not return if the mouse is moving and also is inside MM gizmo to allow update seed fill selection
|
||||||
|
if (!m_mouse.dragging && m_tooltip.is_empty() && (m_gizmos.get_current_type() != GLGizmosManager::MmuSegmentation || !evt.Moving()))
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue