mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 23:55:59 +08:00
Follow-up of 2c02db35140612c377ee847b802428dbb0c908f7 - Fixed assert
This commit is contained in:
parent
2c02db3514
commit
f2e998de9b
@ -848,7 +848,7 @@ std::pair<BoundingBoxf3, Transform3d> Selection::get_bounding_box_in_reference_s
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case ECoordinatesType::Local: {
|
case ECoordinatesType::Local: {
|
||||||
assert(is_single_volume_or_modifier());
|
assert(is_single_volume_or_modifier() || is_single_volume_instance());
|
||||||
const GLVolume& v = *get_first_volume();
|
const GLVolume& v = *get_first_volume();
|
||||||
original_box = v.bounding_box();
|
original_box = v.bounding_box();
|
||||||
trafo = v.world_matrix();
|
trafo = v.world_matrix();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user