Don't skip empty value - all keys are considered required attributes

This commit is contained in:
Roy Nieterau 2022-08-16 10:48:51 +02:00
parent 9ee69cfce8
commit ba3e20a712

View file

@ -349,8 +349,6 @@ def containerise(name,
]
for key, value in data:
if not value:
continue
if isinstance(value, (int, float)):
cmds.addAttr(container, longName=key, attributeType="short")