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:
authorPhilipp Oeser <info@graphics-engineer.com>2021-05-05 19:42:41 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-05-06 17:59:38 +0300
commit98a1540627f3c36f17c0064babe605faa2152246 (patch)
treeed9a179e28e9f68c6f0044bfd601bc5bfcc100c5 /source/blender/blenkernel
parentb24b197cec042de77f12a7165df2f340886effcf (diff)
Fix T88030: operator showing options it shouldnt
Caused by {rB0d9f79b163ee}. IDP_SyncGroupTypes was now syncing from src to src (leading to unexpected operator properties). Assume this is rather critical, dont know the part of the code well, but above commit clearly shows a change from 'dest->data.group' to 'src- >data.group' which shouldnt be there. Maniphest Tasks: T88030 Differential Revision: https://developer.blender.org/D11171
Diffstat (limited to 'source/blender/blenkernel')
-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 6b164e6bc50..58715ac2e05 100644
--- a/source/blender/blenkernel/intern/idprop.c
+++ b/source/blender/blenkernel/intern/idprop.c
@@ -503,7 +503,7 @@ void IDP_SyncGroupValues(IDProperty *dest, const IDProperty *src)
void IDP_SyncGroupTypes(IDProperty *dest, const IDProperty *src, const bool do_arraylen)
{
- LISTBASE_FOREACH_MUTABLE (IDProperty *, prop_dst, &src->data.group) {
+ LISTBASE_FOREACH_MUTABLE (IDProperty *, prop_dst, &dest->data.group) {
const IDProperty *prop_src = IDP_GetPropertyFromGroup((IDProperty *)src, prop_dst->name);
if (prop_src != NULL) {
/* check of we should replace? */