Fixed some more issues in copy / paste of objects and volumes

due to the layer_height_profile, paint on supports and seam
being stored as an object on its own onto the Undo / Redo stack.
This commit is contained in:
Vojtech Bubnik 2020-10-15 17:29:42 +02:00
parent 00a7799341
commit a8fda7d2f1
5 changed files with 171 additions and 45 deletions

View file

@ -1369,7 +1369,7 @@ void Selection::copy_to_clipboard()
dst_object->sla_points_status = src_object->sla_points_status;
dst_object->sla_drain_holes = src_object->sla_drain_holes;
dst_object->layer_config_ranges = src_object->layer_config_ranges; // #ys_FIXME_experiment
dst_object->layer_height_profile = src_object->layer_height_profile;
dst_object->layer_height_profile.assign(src_object->layer_height_profile);
dst_object->origin_translation = src_object->origin_translation;
for (int i : object.second)