Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/attribute.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/attribute.cc b/source/blender/blenkernel/intern/attribute.cc
index 4dd25ba1292..1818befba4c 100644
--- a/source/blender/blenkernel/intern/attribute.cc
+++ b/source/blender/blenkernel/intern/attribute.cc
@@ -302,7 +302,7 @@ CustomDataLayer *BKE_id_attribute_search(const ID *id,
CustomData *customdata = info[domain].customdata;
if (customdata == NULL) {
- return NULL;
+ continue;
}
for (int i = 0; i < customdata->totlayer; i++) {