Blender Git Loki

Git Commits -> Revision 6eaa69c

Revision 6eaa69c by Bastien Montagne (master)
November 22, 2021, 08:28 (GMT)
Fix (unreported) broken handling of constraints reordering with liboverride.

New drag&drop reordering code would call constraints reordering operator
with the generic context, and not the one from the panel's layout.
missing the "constraint" member which is mandatory for poll function to
properly deal with override vs. local constraints.

This commit fixes it by generating a temp bContextStore in the panel
re-ordering callback.

NOTE: this fix will have to be extended to modifiers (which happen to
work currently because they have an 'active' status), and gpencil
modifiers (which are also broken currently).

Differential Revision: https://developer.blender.org/D13291

Commit Details:

Full Hash: 6eaa69c66c98d291b80331330391664415f759a4
Parent Commit: 1b2ee3c
Lines Changed: +15, -0

1 Modified Path:

/source/blender/editors/interface/interface_templates.c (+15, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021