mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
GCodeViewer -> Added debug statistics imgui dialog
This commit is contained in:
parent
c1246f86eb
commit
eac4b3c15a
4 changed files with 169 additions and 14 deletions
|
@ -4050,9 +4050,13 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
|
|||
if (m_selection.is_empty())
|
||||
m_gizmos.reset_all_states();
|
||||
|
||||
#if ENABLE_GCODE_VIEWER
|
||||
m_dirty = true;
|
||||
#else
|
||||
// Only refresh if picking is enabled, in that case the objects may get highlighted if the mouse cursor hovers over.
|
||||
if (m_picking_enabled)
|
||||
m_dirty = true;
|
||||
#endif // ENABLE_GCODE_VIEWER
|
||||
}
|
||||
else
|
||||
evt.Skip();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue