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:
authorJacques Lucke <jacques@blender.org>2022-07-02 12:40:36 +0300
committerJacques Lucke <jacques@blender.org>2022-07-02 12:40:36 +0300
commit3c60d62dba1214378c3348563167385385f6a539 (patch)
tree1a103287c7d054947d1da6cb4a5787cd3828e6d5 /source/blender/blenkernel/intern/customdata.cc
parentd0e3388848a66eb4ca2f7e16278fabd5832e568a (diff)
BKE: fix wrong recently added assert
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.cc')
-rw-r--r--source/blender/blenkernel/intern/customdata.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/customdata.cc b/source/blender/blenkernel/intern/customdata.cc
index 2cd829a7f0b..74903e72f91 100644
--- a/source/blender/blenkernel/intern/customdata.cc
+++ b/source/blender/blenkernel/intern/customdata.cc
@@ -2329,7 +2329,7 @@ bool CustomData_merge(const CustomData *source,
void CustomData_realloc(CustomData *data, int totelem)
{
- BLI_assert(totelem > 0);
+ BLI_assert(totelem >= 0);
for (int i = 0; i < data->totlayer; i++) {
CustomDataLayer *layer = &data->layers[i];
const LayerTypeInfo *typeInfo;