Scale and rotation from scene to value updates correctly

This commit is contained in:
YuSanka 2018-07-29 12:19:08 +02:00
parent 54f14e7ebb
commit c2993de6e0
9 changed files with 98 additions and 15 deletions

View file

@ -1099,6 +1099,7 @@ sub rotate {
$model_object->center_around_origin;
$self->reset_thumbnail($obj_idx);
}
Slic3r::GUI::update_rotation_value(deg2rad($angle), $axis == X ? "x" : ($axis == Y ? "y" : "z"));
# update print and start background processing
$self->{print}->add_model_object($model_object, $obj_idx);