Merge pull request #1758 from tong/fix-object-prop-not-set

Fix unset object prop
This commit is contained in:
Lubos Lenco 2020-07-05 10:35:38 +02:00 committed by GitHub
commit be6dad2682
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: