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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-03-14 19:53:29 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-03-14 19:53:29 +0300
commitd34b1b35bf30037b132c5275076ee72287685bc2 (patch)
tree983cb4ca8b87cef7117a62679bb85d59837024cb /source/blender/blenkernel/intern/idprop.c
parentd0055155e86c75c7e3f6e15fc045f7a2d85f85ae (diff)
Fix (unreported) broken IDarray case in IDP_EqualsProperties_ex.
For IDProps IDarray, IDP_EqualsProperties was called for each item, instead of IDP_EqualsProperties_ex, discarding value of `is_strict` option. Probably not an issue with current code, though.
Diffstat (limited to 'source/blender/blenkernel/intern/idprop.c')
-rw-r--r--source/blender/blenkernel/intern/idprop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/idprop.c b/source/blender/blenkernel/intern/idprop.c
index 45b41fa01ed..110e3f87fd0 100644
--- a/source/blender/blenkernel/intern/idprop.c
+++ b/source/blender/blenkernel/intern/idprop.c
@@ -879,7 +879,7 @@ bool IDP_EqualsProperties_ex(IDProperty *prop1, IDProperty *prop2, const bool is
return false;
for (i = 0; i < prop1->len; i++)
- if (!IDP_EqualsProperties(&array1[i], &array2[i]))
+ if (!IDP_EqualsProperties_ex(&array1[i], &array2[i], is_strict))
return false;
return true;
}