Bugfix: scaling object from the plater applied scale factor over the factor used in the previous slicing job. #1075
This commit is contained in:
parent
7eff002e21
commit
06ad6b70f8
3 changed files with 11 additions and 1 deletions
lib/Slic3r
|
@ -75,6 +75,7 @@ use Moo;
|
|||
|
||||
use List::Util qw(first);
|
||||
use Slic3r::Geometry qw(X Y Z);
|
||||
use Storable qw(dclone);
|
||||
|
||||
has 'input_file' => (is => 'rw');
|
||||
has 'model' => (is => 'ro', weak_ref => 1, required => 1);
|
||||
|
@ -145,6 +146,8 @@ sub check_manifoldness {
|
|||
return (first { !$_->mesh->check_manifoldness } @{$self->volumes}) ? 0 : 1;
|
||||
}
|
||||
|
||||
sub clone { dclone($_[0]) }
|
||||
|
||||
package Slic3r::Model::Volume;
|
||||
use Moo;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue