mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-13 23:43:03 +00:00
Move pattern when handle moves
This commit is contained in:
@@ -916,6 +916,14 @@ void Selection::translate(const Vec3d& displacement, bool local)
|
||||
synchronize_unselected_volumes();
|
||||
#endif // !DISABLE_INSTANCES_SYNCH
|
||||
|
||||
if (m_model->calib_pa_pattern) {
|
||||
m_model->calib_pa_pattern->translate_starting_point(displacement);
|
||||
|
||||
m_model->plates_custom_gcodes[m_model->curr_plate_index] =
|
||||
m_model->calib_pa_pattern->generate_gcodes()
|
||||
;
|
||||
}
|
||||
|
||||
ensure_not_below_bed();
|
||||
set_bounding_boxes_dirty();
|
||||
wxGetApp().plater()->canvas3D()->requires_check_outside_state();
|
||||
|
||||
Reference in New Issue
Block a user