From bb65ad6f2ca4685a111fd225c680e7414578516e Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Fri, 30 Aug 2019 10:33:21 +0200 Subject: [PATCH] Do not apply out of bed detection for non printable volumes --- src/slic3r/GUI/3DScene.cpp | 2 +- src/slic3r/GUI/Selection.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/3DScene.cpp b/src/slic3r/GUI/3DScene.cpp index 35dbd4cea..2916d0177 100644 --- a/src/slic3r/GUI/3DScene.cpp +++ b/src/slic3r/GUI/3DScene.cpp @@ -713,7 +713,7 @@ bool GLVolumeCollection::check_outside_state(const DynamicPrintConfig* config, M for (GLVolume* volume : this->volumes) { - if ((volume == nullptr) || volume->is_modifier || (volume->is_wipe_tower && !volume->shader_outside_printer_detection_enabled) || ((volume->composite_id.volume_id < 0) && !volume->shader_outside_printer_detection_enabled)) + if ((volume == nullptr) || !volume->printable || volume->is_modifier || (volume->is_wipe_tower && !volume->shader_outside_printer_detection_enabled) || ((volume->composite_id.volume_id < 0) && !volume->shader_outside_printer_detection_enabled)) continue; const BoundingBoxf3& bb = volume->transformed_convex_hull_bounding_box(); diff --git a/src/slic3r/GUI/Selection.cpp b/src/slic3r/GUI/Selection.cpp index 9ce13693b..9c1a84615 100644 --- a/src/slic3r/GUI/Selection.cpp +++ b/src/slic3r/GUI/Selection.cpp @@ -1483,6 +1483,7 @@ void Selection::toggle_instance_printable_state() } wxGetApp().obj_list()->update_printable_state(obj_idx, instance_idx); + wxGetApp().plater()->update(); } } }