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:
authorCampbell Barton <ideasman42@gmail.com>2018-04-11 09:53:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-11 09:53:59 +0300
commit32339a56f11ac1392c4b8d8651ff452a2a5511cc (patch)
tree15bf50d82f588225375e1c86b08e146758ad17ca /source/blender/editors/space_outliner
parentf55adabb3e5d3a75ecdb30f90487e314f0afb753 (diff)
Cleanup: minor changes to pose-mode switching API
Prepare for multi-object pose mode
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner_select.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c
index 305afc206c4..ec234f0c08b 100644
--- a/source/blender/editors/space_outliner/outliner_select.c
+++ b/source/blender/editors/space_outliner/outliner_select.c
@@ -718,9 +718,9 @@ static eOLDrawState tree_element_active_pose(
ED_object_editmode_exit(C, EM_FREEDATA | EM_WAITCURSOR | EM_DO_UNDO);
if (ob->mode & OB_MODE_POSE)
- ED_armature_exit_posemode(C, base);
+ ED_object_posemode_exit(C, base);
else
- ED_armature_enter_posemode(C, base);
+ ED_object_posemode_enter(C, base);
}
else {
if (ob->mode & OB_MODE_POSE) {