mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-24 11:22:07 +00:00
revist fixes for wipe tower pos issues
This commit is contained in:
@@ -10505,11 +10505,16 @@ void Plater::priv::init_notification_manager()
|
||||
|
||||
void Plater::priv::update_objects_position_when_select_preset(const std::function<void()> &select_prest)
|
||||
{
|
||||
// TODO: Orca hack
|
||||
select_prest();
|
||||
|
||||
wxGetApp().obj_list()->update_object_list_by_printer_technology();
|
||||
|
||||
// Re-clamp wipe tower positions to new bed boundaries after preset change
|
||||
PartPlateList &cur_plate_list = this->partplate_list;
|
||||
for (size_t plate_id = 0; plate_id < cur_plate_list.get_plate_list().size(); ++plate_id) {
|
||||
cur_plate_list.set_default_wipe_tower_pos_for_plate(plate_id);
|
||||
}
|
||||
|
||||
update();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user