Follow up of 9cc5659e50 and 0aa88e1dea - Further fixes in scaling/sizing objects/volumes using sidebar panel

This commit is contained in:
enricoturri1966 2022-12-15 09:53:10 +01:00
parent 92f2396f49
commit f02478f14c
2 changed files with 22 additions and 7 deletions

View file

@ -1352,7 +1352,7 @@ void Selection::scale_and_translate(const Vec3d& scale, const Vec3d& translation
}
transformation_type.set_relative();
}
relative_scale = original_box.size().cwiseProduct(scale).cwiseQuotient(reference_box.size());
}