Skip empty values

This commit is contained in:
Fabia Serra Arrizabalaga 2023-06-14 09:22:35 -05:00
parent e769a76ac3
commit 09c5512e91

View file

@ -2060,6 +2060,9 @@ class WorkfileSettings(object):
# it will be dict in value
if isinstance(value_, dict):
continue
# skip empty values
if not value_:
continue
if self._root_node[knob].value() not in value_:
self._root_node[knob].setValue(str(value_))
log.debug("nuke.root()['{}'] changed to: {}".format(