mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-19 12:06:28 +02:00
[command] SetAttribute: use getExportValue to store previous value
keep track of link expressions
This commit is contained in:
parent
3ad2146e06
commit
27555b1e7f
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class SetAttributeCommand(GraphCommand):
|
|||
super(SetAttributeCommand, self).__init__(graph, parent)
|
||||
self.attrName = attribute.fullName()
|
||||
self.value = value
|
||||
self.oldValue = attribute.getPrimitiveValue(exportDefault=True)
|
||||
self.oldValue = attribute.getExportValue()
|
||||
self.setText("Set Attribute '{}'".format(attribute.fullName()))
|
||||
|
||||
def redoImpl(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue