Use Vec3d instead of Vec2d for m_starting_point and m_last_pos

This commit is contained in:
thewildmage
2023-07-05 21:14:55 -06:00
parent f159e34998
commit 67989cd134
3 changed files with 19 additions and 12 deletions

View File

@@ -8163,7 +8163,7 @@ void Plater::_calib_pa_pattern(const Calib_Params& params)
bbox.merge(obj->instance_bounding_box(i, false));
}
}
pa_pattern.set_starting_point(Vec2d(bbox.min.x(), bbox.max.y()));
pa_pattern.starting_point(Vec3d(bbox.min.x(), bbox.max.y(), 0));
DynamicPrintConfig* print_config = &wxGetApp().preset_bundle->prints.get_edited_preset().config;
DynamicPrintConfig* printerConfig = &wxGetApp().preset_bundle->printers.get_edited_preset().config;