mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 07:32:01 +08:00
apply object's transformation instead of translation
This commit is contained in:
parent
4745d13955
commit
04e2cd39a0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user