Remove unneeded check from deepcopy of settingoverride decorator

CURA-7106
This commit is contained in:
Jaime van Kessel 2020-06-23 11:32:57 +02:00
parent 85797c4cf5
commit 4729bd1d0f
No known key found for this signature in database
GPG key ID: 3710727397403C91

View file

@ -78,11 +78,6 @@ class SettingOverrideDecorator(SceneNodeDecorator):
# Properly set the right extruder on the copy # Properly set the right extruder on the copy
deep_copy.setActiveExtruder(self._extruder_stack) deep_copy.setActiveExtruder(self._extruder_stack)
# use value from the stack because there can be a delay in signal triggering and "_is_non_printing_mesh"
# has not been updated yet.
deep_copy._is_non_printing_mesh = self._evaluateIsNonPrintingMesh()
deep_copy._is_non_thumbnail_visible_mesh = self._evaluateIsNonThumbnailVisibleMesh()
return deep_copy return deep_copy
def getActiveExtruder(self): def getActiveExtruder(self):