mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 16:59:01 +08:00
Ensure that PerObjectContainer stack doesn't trigger a save
This commit is contained in:
parent
9d5ee286b4
commit
db604cdd16
@ -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…
x
Reference in New Issue
Block a user