mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-29 00:46:32 +02:00
[commands] ListAttributeAppendCommand: handle 'None' as value
This commit is contained in:
parent
8b2224609c
commit
5f49e26216
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class ListAttributeAppendCommand(GraphCommand):
|
||||||
self.attrName = listAttribute.fullName()
|
self.attrName = listAttribute.fullName()
|
||||||
self.index = None
|
self.index = None
|
||||||
self.count = 1
|
self.count = 1
|
||||||
self.value = value if len(value) else None
|
self.value = value if value else None
|
||||||
self.setText("Append to {}".format(self.attrName))
|
self.setText("Append to {}".format(self.attrName))
|
||||||
|
|
||||||
def redoImpl(self):
|
def redoImpl(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue