Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc3a9c39fc |
@@ -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 <cmbasnett@gmail.com>"
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user