diff options
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/pose_edit.c | 2 | ||||
-rw-r--r-- | source/blender/editors/armature/pose_lib.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/armature/pose_edit.c b/source/blender/editors/armature/pose_edit.c index 8f78aadb067..bdf2b2d572a 100644 --- a/source/blender/editors/armature/pose_edit.c +++ b/source/blender/editors/armature/pose_edit.c @@ -79,7 +79,7 @@ Object *ED_pose_object_from_context(bContext *C) Object *ob; /* since this call may also be used from the buttons window, we need to check for where to get the object */ - if (sa && sa->spacetype == SPACE_BUTS) { + if (sa && sa->spacetype == SPACE_PROPERTIES) { ob = ED_object_context(C); } else { diff --git a/source/blender/editors/armature/pose_lib.c b/source/blender/editors/armature/pose_lib.c index 63f843433d1..711a9b3d64a 100644 --- a/source/blender/editors/armature/pose_lib.c +++ b/source/blender/editors/armature/pose_lib.c @@ -159,7 +159,7 @@ static Object *get_poselib_object(bContext *C) sa = CTX_wm_area(C); - if (sa && (sa->spacetype == SPACE_BUTS)) + if (sa && (sa->spacetype == SPACE_PROPERTIES)) return ED_object_context(C); else return BKE_object_pose_armature_get(CTX_data_active_object(C)); |