diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-11 10:20:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-11 10:21:01 +0300 |
commit | c963488b5e25b906ff72cbaabdcc76cbfbc77172 (patch) | |
tree | a2f64156a2f2554d99b2b3ffc18cc17e42699a39 /source/blender/editors/include | |
parent | 32339a56f11ac1392c4b8d8651ff452a2a5511cc (diff) |
Pose Mode: pass object to mode enter/exit
Also add lower level mode exit function
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_armature.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/include/ED_armature.h b/source/blender/editors/include/ED_armature.h index 2089f81b0d7..ae54dd802ee 100644 --- a/source/blender/editors/include/ED_armature.h +++ b/source/blender/editors/include/ED_armature.h @@ -195,9 +195,10 @@ void ED_armature_ebone_listbase_free(struct ListBase *lb); void ED_armature_ebone_listbase_copy(struct ListBase *lb_dst, struct ListBase *lb_src); /* poseobject.c */ -void ED_object_posemode_exit(struct bContext *C, struct Base *base); -bool ED_object_posemode_enter_ex(struct Base *base); -bool ED_object_posemode_enter(struct bContext *C, struct Base *base); +bool ED_object_posemode_exit_ex(struct Object *ob); +bool ED_object_posemode_exit(struct bContext *C, struct Object *ob); +bool ED_object_posemode_enter_ex(struct Object *ob); +bool ED_object_posemode_enter(struct bContext *C, struct Object *ob); void ED_pose_de_selectall(struct Object *ob, int select_mode, const bool ignore_visibility); void ED_pose_bone_select(struct Object *ob, struct bPoseChannel *pchan, bool select); void ED_pose_recalculate_paths(struct Scene *scene, struct Object *ob); |