mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-05 15:40:37 +08:00
Minor typos preventing correct positioning after recent XS merge
This commit is contained in:
parent
67aefdccc7
commit
2d3dae621a
@ -807,7 +807,7 @@ sub make_model {
|
||||
$new_model_object->add_instance(
|
||||
rotation => $plater_object->rotate, # around center point
|
||||
scaling_factor => $plater_object->scale,
|
||||
offset => Slic3r::Point->new($_),
|
||||
offset => Slic3r::Point->new(@$_),
|
||||
) for @{$plater_object->instances};
|
||||
}
|
||||
|
||||
|
@ -154,6 +154,7 @@ sub add_model {
|
||||
print => $self,
|
||||
meshes => [ @meshes ],
|
||||
copies => [
|
||||
map Slic3r::Point->new(@$_),
|
||||
$object->instances
|
||||
? (map [ scale($_->offset->[X] - $align[X]) - $align2[X], scale($_->offset->[Y] - $align[Y]) - $align2[Y] ], @{$object->instances})
|
||||
: [0,0],
|
||||
|
Loading…
x
Reference in New Issue
Block a user