Added rendering of smart fill and contour around selected areas for the FDM supports painting gizmo.

This commit is contained in:
Lukáš Hejl 2021-10-07 13:04:22 +02:00
parent 2b59a16dc7
commit 542ba1bb9a
3 changed files with 62 additions and 7 deletions

View file

@ -548,7 +548,7 @@ bool GLGizmosManager::on_mouse(wxMouseEvent& evt)
// mouse anywhere
if (evt.Moving()) {
m_tooltip = update_hover_state(mouse_pos);
if (m_current == MmuSegmentation)
if (m_current == MmuSegmentation || m_current == FdmSupports)
gizmo_event(SLAGizmoEventType::Moving, mouse_pos, evt.ShiftDown(), evt.AltDown());
} else if (evt.LeftUp()) {
if (m_mouse_capture.left) {