Fix #79961: Outliner Data API crash with a MeshSkinVertex in editmode #119149

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:79961 into blender-v4.1-release 2024-03-07 11:31:09 +01:00

1 Commits

Author SHA1 Message Date
Philipp Oeser aff40dfa00 Fix #79961: Outliner Data API crash with a MeshSkinVertex in editmode
When in mesh editmode, skin_vertices point to bmesh customdata, the
skin_vertices data is empty since custom data is stored per element
instead of a single array there (same es UVs etc.).

Fix similar to 3e2619b3e7, 5179b8236b (basically disallowing the
access in editmode).
2024-03-07 10:01:22 +01:00