Skip to content

Commit

Permalink
Fixed vertex color lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbasnett committed Sep 14, 2024
1 parent 4ca686b commit cc3a9c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion io_scene_ase/blender_manifest.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version = "1.0.0"
id = "io_scene_ase"
version = "2.1.1"
version = "2.1.2"
name = "ASCII Scene Export (.ase)"
tagline = "Export .ase files used in Unreal Engine 1 & 2"
maintainer = "Colin Basnett <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion io_scene_ase/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def build_ase(context: Context, options: ASEBuildOptions, objects: Iterable[Obje
color_attribute = None
match options.vertex_color_mode:
case 'ACTIVE':
color_attribute = mesh_data.color_attributes[active_color_name]
color_attribute = mesh_data.color_attributes.get(active_color_name, None)
case 'EXPLICIT':
color_attribute = mesh_data.color_attributes.get(options.vertex_color_attribute, None)

Expand Down

0 comments on commit cc3a9c3

Please sign in to comment.