mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-20 23:09:18 -07:00
GCodeViewer -> Temporary ImGui dialog for editing shaders parameters
This commit is contained in:
@@ -3502,6 +3502,9 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
|
||||
#ifdef SLIC3R_DEBUG_MOUSE_EVENTS
|
||||
printf((format_mouse_event_debug_message(evt) + " - Consumed by ImGUI\n").c_str());
|
||||
#endif /* SLIC3R_DEBUG_MOUSE_EVENTS */
|
||||
#if ENABLE_GCODE_VIEWER
|
||||
m_dirty = true;
|
||||
#endif // ENABLE_GCODE_VIEWER
|
||||
// do not return if dragging or tooltip not empty to allow for tooltip update
|
||||
if (!m_mouse.dragging && m_tooltip.is_empty())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user