diff --git a/release/datafiles/blender_icons_geom.py b/release/datafiles/blender_icons_geom.py index 45447892700..18cadd427bf 100644 --- a/release/datafiles/blender_icons_geom.py +++ b/release/datafiles/blender_icons_geom.py @@ -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