2.5: Armature
[blender-staging.git] / source / blender / editors / space_buttons / buttons_context.c
index 24d5fcc648a05e197f98be41e28933a2b9c06ef1..b7e2a3325cb9ac2443019e16359a7572a445560a 100644 (file)
@@ -415,6 +415,8 @@ static int buttons_context_path(const bContext *C, ButsContextPath *path, int ma
                        break;
                case BCONTEXT_BONE:
                        found= buttons_context_path_bone(path);
+                       if(!found)
+                               found= buttons_context_path_data(path, OB_ARMATURE);
                        break;
                default:
                        found= 0;