Bugfix: scaling object from the plater applied scale factor over the factor used in the previous slicing job.

This commit is contained in:
Alessandro Ranellucci 2013-05-14 16:31:50 +02:00
parent 7eff002e21
commit 06ad6b70f8
3 changed files with 11 additions and 1 deletions
lib/Slic3r

View file

@ -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;