Fix of anisotropic scaling from the 3D scene.

This commit is contained in:
bubnikv 2019-04-29 16:01:52 +02:00
parent 16560f6e27
commit e5c97364a4

View file

@ -629,7 +629,7 @@ bool GLGizmosManager::on_mouse(wxMouseEvent& evt, GLCanvas3D& canvas)
case Scale:
{
// Apply new temporary scale factors
TransformationType transformation_type(TransformationType::World_Relative_Joint);
TransformationType transformation_type(TransformationType::Local_Relative_Joint);
if (evt.AltDown())
transformation_type.set_independent();
selection.scale(get_scale(), transformation_type);