Blender Git Commit Log

Git Commits -> Revision 18060d8

Revision 18060d8 by Bastien Montagne (master)
April 25, 2014, 15:22 (GMT)
Fix T39895: Displaying the armature layers popup in edit mode always fails.

In fact, armature layers operators (set layers, and show all) were kind of messy and broken
in Edit mode (Select layers had two different operators for Pose and Edit modes, both
using the same funcs that could only work in Pose mode, Show All was supposed to be
used in both modes but again, its exec code could only work in Pose one).

Fixed that by:
* Using only one op for each task, for both modes (with adapted poll func).
* Replacing 'object from context' access by an helper that returns the right Armature
object in both Edit and Pose modes.

Commit Details:

Full Hash: 18060d863207d98a06b743437f2353516605436e
Parent Commit: dd86773
Lines Changed: +42, -43

6 Modified Paths:

/release/scripts/presets/keyconfig/3dsmax.py (+1, -1) (Diff)
/release/scripts/presets/keyconfig/maya.py (+1, -1) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+1, -1) (Diff)
/source/blender/editors/armature/armature_intern.h (+0, -1) (Diff)
/source/blender/editors/armature/armature_ops.c (+2, -3) (Diff)
/source/blender/editors/armature/pose_edit.c (+37, -36) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021