diff options
author | Joseph Eagar <joeedh@gmail.com> | 2022-10-06 11:06:30 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2022-10-06 23:19:35 +0300 |
commit | f58b5246695f1fc9b8545c84569566685a64c8cb (patch) | |
tree | c8808a4b8673079e21d6cd74fa9f8ea98379d7d7 | |
parent | 65c8c8367929d14a9036f86ddb3796f620832730 (diff) |
Sculpt: Fix bug in sculpt attribute api
SculptAttribute.domain wasn't being set
when creating from an existing CustomData
attribute.
-rw-r--r-- | source/blender/blenkernel/intern/paint.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/paint.cc b/source/blender/blenkernel/intern/paint.cc index 7b3ad170339..00535ea5528 100644 --- a/source/blender/blenkernel/intern/paint.cc +++ b/source/blender/blenkernel/intern/paint.cc @@ -2677,6 +2677,7 @@ SculptAttribute *BKE_sculpt_attribute_get(struct Object *ob, attr = sculpt_alloc_attr(ss); attr->used = true; + attr->domain = domain; attr->proptype = proptype; attr->data = cdata->layers[index].data; attr->bmesh_cd_offset = cdata->layers[index].offset; |