Skip to content

Commit

Permalink
Fix typo in a previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduroure committed Jun 1, 2024
1 parent 1e55ca8 commit 36c72ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ def manage_material_info(self):

elif base_material is not None and self.export_settings['gltf_vertex_color'] == "MATERIAL":
# Check if there is an active Vertex Color in mesh
if warning_already_displayed_vc_nodetree is False and self.blender_mesh.color_attributes.active_index != -1:
if warning_already_displayed_vc_nodetree is False and self.blender_mesh.color_attributes.active_color_index != -1:
self.export_settings['log'].warning('The active Vertex Color will not be exported, as it is not used in the node tree of the material')
warning_already_displayed_vc_nodetree = True

Expand Down

0 comments on commit 36c72ca

Please sign in to comment.