diff options
author | Jacques Lucke <jacques@blender.org> | 2022-07-02 12:40:36 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-07-02 12:40:36 +0300 |
commit | 3c60d62dba1214378c3348563167385385f6a539 (patch) | |
tree | 1a103287c7d054947d1da6cb4a5787cd3828e6d5 /source | |
parent | d0e3388848a66eb4ca2f7e16278fabd5832e568a (diff) |
BKE: fix wrong recently added assert
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/customdata.cc | 2 |
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; |