From c657313fee574a867b9ec3aa2ac45afad3a29511 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Wed, 15 Apr 2009 03:22:22 +0000 Subject: PoseLib: Operatorfied Add/Remove/Rename Tools Changes: * These still use the old hotkeys - Add (Shift-L), Remove (Alt-L), Rename (Ctrl-Shift-L) * Outliner now shows PoseLib entry. Todo still is to use a different icon for this? Notes: * The code is now much simpler in many places :) * Add and Rename operators require a string as input to set a new name for the Pose concerned. For now, I've just added a prop for this, which will hopefully be able to be filled in at some point. --- source/blender/editors/armature/armature_intern.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/editors/armature/armature_intern.h') diff --git a/source/blender/editors/armature/armature_intern.h b/source/blender/editors/armature/armature_intern.h index ea28c647b75..e774d184e9d 100644 --- a/source/blender/editors/armature/armature_intern.h +++ b/source/blender/editors/armature/armature_intern.h @@ -69,6 +69,11 @@ void SKETCH_OT_finish_stroke(struct wmOperatorType *ot); void SKETCH_OT_cancel_stroke(struct wmOperatorType *ot); void SKETCH_OT_select(struct wmOperatorType *ot); +/* PoseLib */ +void POSELIB_OT_pose_add(struct wmOperatorType *ot); +void POSELIB_OT_pose_remove(struct wmOperatorType *ot); +void POSELIB_OT_pose_rename(struct wmOperatorType *ot); + /* editarmature.c */ struct bArmature; struct EditBone; -- cgit v1.2.3