Blender Git Loki

Git Commits -> Revision 1c2b203

Revision 1c2b203 by Philipp Oeser (master)
January 18, 2021, 14:00 (GMT)
Fix T84600: prevent bone groups operators on proxies and library
overrides

Editing bone groups is not supported on proxies/overrides [changes a re
lost on file reload], need to do proper polling (and also prevent this
from rna) for:

- adding bone groups
- removing bone groups
- renaming bone groups
- setting bone groups colors

Previously, this was hinted at by setting the layout inactive, with
preoper polls, this is now not needed anymore.

note: Selection of bone groups actually makes sense here and is
supported, so this is not prevented in this patch, but UI wise this is
not nice in the override case, because one cannot set an active_index
(aka select) in the UI list.

Maniphest Tasks: T84600

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

Commit Details:

Full Hash: 1c2b2037956bf1d46a10842a4b503d20714bdcf2
Parent Commit: b4530de
Lines Changed: +50, -10

3 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_armature.py (+0, -2) (Diff)
/source/blender/editors/armature/pose_group.c (+21, -6) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+29, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021