Blender Git Loki
Git Commits -> Revision d13970d
Revision d13970d by Philipp Oeser (master) December 21, 2021, 13:07 (GMT) |
Fix T92930: Outliner "Show Active" bone fails in certain situations Outliner would frame the armature object instead of the bone if the bone was on a hidden armature layer. Similar to issues reported in e.g. T58068 and T80464, this is due to the fact that `BKE_pose_channel_active` always checks for the armature layer (and returns NULL if a bone is not on a visible armature layer). Now propose to make this layer check **optional** (and e.g. from the Outliner be more permissive). This also introduces `BKE_pose_channel_active_if_layer_visible` which just wraps `BKE_pose_channel_active` with the check being ON. Maniphest Tasks: T92930 Differential Revision: https://developer.blender.org/D13154 |
Commit Details:
Full Hash: d13970de8627bab29458a6eef951a84a7962b38a
Parent Commit: fac42e3
Lines Changed: +57, -26
14 Modified Paths:
/source/blender/blenkernel/BKE_action.h (+19, -3) (Diff)
/source/blender/blenkernel/intern/action.c (+16, -4) (Diff)
/source/blender/editors/armature/pose_select.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/editors/object/object_constraint.c (+4, -4) (Diff)
/source/blender/editors/object/object_hook.c (+1, -1) (Diff)
/source/blender/editors/object/object_relations.c (+2, -2) (Diff)
/source/blender/editors/object/object_utils.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_context.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_edit.c (+4, -1) (Diff)
/source/blender/editors/space_view3d/view3d_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_armature.c (+3, -3) (Diff)
/source/blender/editors/transform/transform_orientations.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/action.c (+16, -4) (Diff)
/source/blender/editors/armature/pose_select.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/editors/object/object_constraint.c (+4, -4) (Diff)
/source/blender/editors/object/object_hook.c (+1, -1) (Diff)
/source/blender/editors/object/object_relations.c (+2, -2) (Diff)
/source/blender/editors/object/object_utils.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_context.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_edit.c (+4, -1) (Diff)
/source/blender/editors/space_view3d/view3d_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_armature.c (+3, -3) (Diff)
/source/blender/editors/transform/transform_orientations.c (+2, -2) (Diff)