Fixed regression causing rotation from plater to also translate the resulting G-code. #1191

This commit is contained in:
Alessandro Ranellucci 2013-05-31 19:41:31 +02:00
parent c62b49d1af
commit 49531f6f78
4 changed files with 5 additions and 6 deletions

View file

@ -122,7 +122,7 @@ sub add_model {
# we ignore the per-instance rotation currently and only
# consider the first one
$mesh->rotate($object->instances->[0]->rotation);
$mesh->rotate($object->instances->[0]->rotation, $mesh->center);
$mesh->scale(1 / &Slic3r::SCALING_FACTOR);
}