mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-07 05:54:03 -06:00
Bugfix: the order of transformations was not consistent in plater and actual G-code generation. #1171 #1191
This commit is contained in:
parent
8e0e03247d
commit
aee7b70d79
2 changed files with 38 additions and 27 deletions
|
@ -120,6 +120,9 @@ sub add_model {
|
|||
foreach my $mesh (grep $_, @meshes) {
|
||||
$mesh->check_manifoldness;
|
||||
|
||||
# the order of these transformations must be the same as the one used in plater
|
||||
# to make the object positioning consistent with the visual preview
|
||||
|
||||
# we ignore the per-instance rotation currently and only
|
||||
# consider the first one
|
||||
$mesh->rotate($object->instances->[0]->rotation, $mesh->center)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue