Fix for detection of the DoubleSlicer mode

This commit is contained in:
YuSanka 2022-01-12 11:21:57 +01:00
parent 5a2925466d
commit 090a424c1a

View File

@ -774,7 +774,8 @@ void Preview::update_layers_slider_mode()
return false;
for (ModelVolume* volume : object->volumes)
if ((volume->config.has("extruder") &&
if ((volume->config.has("extruder") &&
volume->config.option("extruder")->getInt() != 0 && // extruder isn't default
volume->config.option("extruder")->getInt() != extruder) ||
!volume->mmu_segmentation_facets.empty())
return false;