Skip to content

Commit

Permalink
apply object's transformation instead of translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Oekn5w authored and lordofhyphens committed Dec 2, 2019
1 parent 4745d13 commit 04e2cd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 04e2cd3

Please sign in to comment.