From 04e2cd39a091baacdb28ba8350b51dbf39d4bcec Mon Sep 17 00:00:00 2001 From: Michael Kirsch Date: Sun, 21 Jul 2019 21:39:50 +0200 Subject: [PATCH] apply object's transformation instead of translation --- lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm b/lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm index 5ccc06397e..031b03d1e5 100644 --- a/lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm +++ b/lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm @@ -366,7 +366,7 @@ sub on_btn_load { $new_volume->set_input_file_vol_idx($vol_idx); # apply the same translation we applied to the object - $new_volume->translate(@{$self->{model_object}->origin_translation}); + $new_volume->apply_transformation($self->{model_object}->get_trafo_obj); # set a default extruder value, since user can't add it manually $new_volume->config->set_ifndef('extruder', 0);