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
This commit is contained in:
parent
b24b197cec
commit
98a1540627
Notes:
blender-bot
2023-02-14 05:22:18 +01:00
Referenced by issue #88030, Edge Slide additional options (error in idprops commit)
|
@ -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? */
|
||||
|
|
Loading…
Reference in New Issue