Merge branch 'master' into gltf_add_ortho_cam

pull/2649/head
Kim Kulling 2019-09-12 20:28:18 +02:00 committed by GitHub
commit 4d2adf5bea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -274,8 +274,8 @@ def hasattr_silent(object, name):
"""
try:
if not object:
return False
if not object:
return False
return hasattr(object, name)
except AttributeError:
return False