Fixed compile warning

This commit is contained in:
enricoturri1966 2021-08-18 09:08:39 +02:00
parent e645f4a4ee
commit 432629ec97

View File

@ -789,8 +789,8 @@ void Preview::update_layers_slider_mode()
return false;
for (ModelVolume* volume : object->volumes)
if (volume->config.has("extruder") &&
volume->config.option("extruder")->getInt() != extruder ||
if ((volume->config.has("extruder") &&
volume->config.option("extruder")->getInt() != extruder) ||
!volume->mmu_segmentation_facets.empty())
return false;