mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-12 09:22:46 +02:00
Failing test for broken command line scaling. #1889
This commit is contained in:
1 parent
fc4ac5ded4
commit
e9e23119fc
2 files changed
+53
-35
No files matched your search
+1
-1
@@ -98,7 +98,6 @@ sub mesh {
|
||||
$mesh->ReadFromPerl($vertices, $facets);
|
||||
$mesh->repair;
|
||||
$mesh->scale_xyz($params{scale_xyz}) if $params{scale_xyz};
|
||||
$mesh->scale($params{scale}) if $params{scale};
|
||||
$mesh->translate(@{$params{translate}}) if $params{translate};
|
||||
return $mesh;
|
||||
}
|
||||
@@ -113,6 +112,7 @@ sub model {
|
||||
$object->add_instance(
|
||||
offset => [0,0],
|
||||
rotation => $params{rotation} // 0,
|
||||
scaling_factor => $params{scale} // 1,
|
||||
);
|
||||
return $model;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user