mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
Wire up new position window from PrusaSlicer
This commit is contained in:
@@ -7340,14 +7340,12 @@ void GLCanvas3D::_render_gcode(int canvas_width, int canvas_height)
|
||||
}
|
||||
layers_slider->set_as_dirty(false);
|
||||
post_event(SimpleEvent(EVT_GLCANVAS_UPDATE));
|
||||
m_gcode_viewer.update_marker_curr_move();
|
||||
}
|
||||
|
||||
if (moves_slider->is_dirty()) {
|
||||
moves_slider->set_as_dirty(false);
|
||||
m_gcode_viewer.update_sequential_view_current((moves_slider->GetLowerValueD() - 1.0), static_cast<unsigned int>(moves_slider->GetHigherValueD() - 1.0));
|
||||
post_event(SimpleEvent(EVT_GLCANVAS_UPDATE));
|
||||
m_gcode_viewer.update_marker_curr_move();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user