mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-02 01:50:39 +08:00
Fix SPE-1995
This commit is contained in:
parent
ea55dfb3d6
commit
ec7c85250f
@ -353,12 +353,14 @@ bool face_selected_volume_to_camera(const Camera &camera, GLCanvas3D &canvas, co
|
|||||||
gl_volume.set_instance_transformation(new_instance_tr);
|
gl_volume.set_instance_transformation(new_instance_tr);
|
||||||
} else {
|
} else {
|
||||||
// write result transformation
|
// write result transformation
|
||||||
gl_volume.set_volume_transformation(Geometry::Transformation(new_volume_tr));
|
gl_volume.set_volume_transformation(new_volume_tr);
|
||||||
volume.set_transformation(new_volume_tr);
|
volume.set_transformation(new_volume_tr);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (volume.type() == ModelVolumeType::MODEL_PART)
|
if (volume.type() == ModelVolumeType::MODEL_PART) {
|
||||||
|
object.invalidate_bounding_box();
|
||||||
object.ensure_on_bed();
|
object.ensure_on_bed();
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user