Fix #107228: AttributeGroup.new crash when layer cannot be created #118378

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:107228 into blender-v4.1-release 2024-02-16 15:36:40 +01:00

1 Commits

Author SHA1 Message Date
Philipp Oeser cef7979c63 Fix #107228: AttributeGroup.new crash when layer cannot be created
A layer cannot be created e.g. when creating a reserved-name attributes
with the wrong domain/type.

Caused by 101d04f41f [which just did not
check if the layer creation was successful].

This should go into 3.6 LTS as well.
2024-02-16 13:56:34 +01:00