Fix #106759: Error on running blender_icons_geom.py with curve #108647

Merged
Philipp Oeser merged 2 commits from lichtwerk/blender:106759 into blender-v3.6-release 2023-06-08 10:22:00 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ def main():
if name.rpartition(".")[2].isdigit():
continue
if not ob_eval.data.attributes.active_color:
if (not hasattr(ob_eval.data, 'attributes')) or not ob_eval.data.attributes.active_color:
print("Skipping:", name, "(no vertex colors)")
continue