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

2 Commits

Author SHA1 Message Date
Philipp Oeser f7b66cedf5 be more general in checking existance of attribute
we could have other object types supported as well (e.g. curves -- which
I wont add in this commit to make this a pure bugfix)
2023-06-06 11:11:03 +02:00
Philipp Oeser eb581c0281 Fix #106759: Error on running blender_icons_geom.py with curve
288e7d0af0 added support for legacy curves, these dont have attributes
though, but code was checking for an active color atttribute.

Now, only do this check (and skip that object) if it is a mesh (that
doesnt have vertex an active color atttribute).
2023-06-06 09:47:56 +02:00