Merge branch 'master' into gltf_add_ortho_cam
commit
4d2adf5bea
|
@ -274,8 +274,8 @@ def hasattr_silent(object, name):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if not object:
|
if not object:
|
||||||
return False
|
return False
|
||||||
return hasattr(object, name)
|
return hasattr(object, name)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue