Blender Git Loki

Git Commits -> Revision 4d146bd

Revision 4d146bd by Joshua Leung (master)
August 22, 2015, 06:16 (GMT)
Fix T45689: Pose Libraries cannot be used when using lib-linked actions as poselibs

This commit makes some tweaks that make it at least possible to use lib-linked
actions as Pose Libraries. Specifically:
* The apply poses button is no longer greyed out

* It is possible to select different poses from the list of poses

* All pose library operators which edit the poses stored in the poselib
now have improved poll callbacks which perform extra checks for lib-linked
actions (which cannot be edited, as all those changes will be lost)


Caveats:
* Due to the way the UI list template works, it doesn't seem to be possible to
make it not grey out the items in the list. (While the double-click to rename
thing shouldn't be allowed, items should at least look like they can be clicked on)

* The difference between clickable vs not-clickable isn't too great, making it hard
to tell that that while the Add/Remove/Sanitise toggles are not usable,
the Apply Poses is actually functional. But, this is a more of a UI-toolbox
level issue

Commit Details:

Full Hash: 4d146bdf13090008e6d3c552eb2fadc12c206369
Parent Commit: 79e3a27
Lines Changed: +35, -6

3 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_armature.py (+0, -1) (Diff)
/source/blender/editors/armature/pose_lib.c (+32, -4) (Diff)
/source/blender/makesrna/intern/rna_action.c (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021