mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 02:08:08 +02:00
[commands] SetAttribute: store previous primitive value
This commit is contained in:
parent
955609811d
commit
5d549e9155
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class SetAttributeCommand(GraphCommand):
|
|||
super(SetAttributeCommand, self).__init__(graph, parent)
|
||||
self.attrName = attribute.fullName()
|
||||
self.value = value
|
||||
self.oldValue = attribute.value
|
||||
self.oldValue = attribute.getPrimitiveValue(exportDefault=True)
|
||||
self.setText("Set Attribute '{}'".format(attribute.fullName()))
|
||||
|
||||
def redoImpl(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue