mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
CURA-4400 only reevaluate non printing mesh if the setting actually matters
This commit is contained in:
parent
32ce458516
commit
bab46d7048
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ class SettingOverrideDecorator(SceneNodeDecorator):
|
||||||
|
|
||||||
def _onSettingChanged(self, instance, property_name): # Reminder: 'property' is a built-in function
|
def _onSettingChanged(self, instance, property_name): # Reminder: 'property' is a built-in function
|
||||||
# Trigger slice/need slicing if the value has changed.
|
# Trigger slice/need slicing if the value has changed.
|
||||||
if property_name == "value":
|
if property_name == "value" and instance in self._non_printing_mesh_settings:
|
||||||
self._is_non_printing_mesh = self.evaluateIsNonPrintingMesh()
|
self._is_non_printing_mesh = self.evaluateIsNonPrintingMesh()
|
||||||
|
|
||||||
Application.getInstance().getBackend().needsSlicing()
|
Application.getInstance().getBackend().needsSlicing()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue