Merge branch 'blender-v2.93-release'

This commit is contained in:
Julien Duroure 2021-04-20 18:41:47 +02:00
commit 149f34fce3
2 changed files with 7 additions and 3 deletions

View File

@ -15,7 +15,7 @@
bl_info = {
'name': 'glTF 2.0 format',
'author': 'Julien Duroure, Scurest, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors',
"version": (1, 7, 4),
"version": (1, 7, 5),
'blender': (2, 91, 0),
'location': 'File > Import-Export',
'description': 'Import-Export as glTF 2.0',

View File

@ -89,5 +89,9 @@ def set_extras(blender_element, extras, exclude=[]):
try:
blender_element[custom_property] = value
except TypeError:
print('Error setting property %s to value of type %s' % (custom_property, type(value)))
except Exception:
# Try to convert to string
try:
blender_element[custom_property] = str(value)
except Exception:
print('Error setting property %s to value of type %s' % (custom_property, type(value)))