mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 20:19:09 +08:00
Fixed assert when scaling multi objects selection using the sidebar panel
This commit is contained in:
parent
d98fd64534
commit
aa9e7a8ae7
@ -1484,11 +1484,11 @@ void Selection::scale_and_translate(const Vec3d& scale, const Vec3d& translation
|
|||||||
original_box = get_full_unscaled_instance_local_bounding_box();
|
original_box = get_full_unscaled_instance_local_bounding_box();
|
||||||
|
|
||||||
relative_scale = original_box.size().cwiseProduct(scale).cwiseQuotient(current_box.size());
|
relative_scale = original_box.size().cwiseProduct(scale).cwiseQuotient(current_box.size());
|
||||||
transformation_type.set_relative();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
}
|
}
|
||||||
|
transformation_type.set_relative();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_mode == Instance) {
|
if (m_mode == Instance) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user