mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 14:13:57 -06:00
740067c
: "Fixed cut contours in gizmo cut after deleting an object"e645f4a
: "Fixed cut contours after cutting an object in gizmo cut"
This commit is contained in:
parent
740067c576
commit
3cf6d1c888
3 changed files with 4 additions and 24 deletions
|
@ -306,7 +306,7 @@ void GLVolume::SinkingContours::update()
|
|||
int object_idx = m_parent.object_idx();
|
||||
Model& model = GUI::wxGetApp().plater()->model();
|
||||
|
||||
if (0 <= object_idx && object_idx < (int)model.objects.size() && m_parent.is_sinking() && !m_parent.is_below_printbed()) {
|
||||
if (0 <= object_idx && object_idx < model.objects.size() && m_parent.is_sinking() && !m_parent.is_below_printbed()) {
|
||||
const BoundingBoxf3& box = m_parent.transformed_convex_hull_bounding_box();
|
||||
if (!m_old_box.size().isApprox(box.size()) || m_old_box.min.z() != box.min.z()) {
|
||||
m_old_box = box;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue