Merge pull request #1758 from tong/fix-object-prop-not-set
Fix unset object prop
This commit is contained in:
commit
be6dad2682
|
@ -536,6 +536,8 @@ def safestr(s: str) -> str:
|
|||
return ''.join([i if ord(i) < 128 else '_' for i in s])
|
||||
|
||||
def asset_name(bdata):
|
||||
if bdata == None:
|
||||
return None
|
||||
s = bdata.name
|
||||
# Append library name if linked
|
||||
if bdata.library is not None:
|
||||
|
|
Loading…
Reference in a new issue