Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-04-25 19:07:30 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-04-25 19:22:49 +0400
commit18060d863207d98a06b743437f2353516605436e (patch)
tree12c659f67eca3ed79e8ab81f267f86bb5faf25a4 /source/blender/editors/armature/armature_intern.h
parentdd86773969e6eb6db69495dfee07688fe4bdf8bd (diff)
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.
Diffstat (limited to 'source/blender/editors/armature/armature_intern.h')
-rw-r--r--source/blender/editors/armature/armature_intern.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/armature/armature_intern.h b/source/blender/editors/armature/armature_intern.h
index f3db9042879..1d054ffc2e9 100644
--- a/source/blender/editors/armature/armature_intern.h
+++ b/source/blender/editors/armature/armature_intern.h
@@ -133,7 +133,6 @@ void POSE_OT_rotation_mode_set(struct wmOperatorType *ot);
void POSE_OT_quaternions_flip(struct wmOperatorType *ot);
-void POSE_OT_armature_layers(struct wmOperatorType *ot);
void POSE_OT_bone_layers(struct wmOperatorType *ot);
/* ******************************************************* */