glTF exporter: Fix retrieving attribute after recent merged
This commit is contained in:
@@ -5,7 +5,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": (4, 2, 38),
|
||||
"version": (4, 2, 39),
|
||||
'blender': (4, 2, 0),
|
||||
'location': 'File > Import-Export',
|
||||
'description': 'Import-Export as glTF 2.0',
|
||||
|
||||
@@ -658,8 +658,7 @@ def get_color_attrib(nav):
|
||||
if nav.node.attribute_type == 'GEOMETRY':
|
||||
# Does NOT use color attribute when blank
|
||||
name = nav.node.attribute_name
|
||||
if name:
|
||||
return name
|
||||
return name # Fixed name or "" for active color
|
||||
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user