mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Ensure that PerObjectContainer stack doesn't trigger a save
This commit is contained in:
parent
9d5ee286b4
commit
db604cdd16
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ from .CuraContainerStack import CuraContainerStack
|
|||
|
||||
|
||||
class PerObjectContainerStack(CuraContainerStack):
|
||||
def isDirty(self):
|
||||
# This stack should never be auto saved, so always return that there is nothing to save.
|
||||
return False
|
||||
|
||||
@override(CuraContainerStack)
|
||||
def getProperty(self, key: str, property_name: str, context: Optional[PropertyEvaluationContext] = None) -> Any:
|
||||
if context is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue