mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-15 02:41:51 +08: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
@ -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…
x
Reference in New Issue
Block a user