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:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2021-12-22 15:07:46 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2021-12-22 15:07:46 +0300
commit74138fb2d4ac9f0504c8f9f575bf392b49fc7488 (patch)
treec383efca92710d0a4b3ffce5ad74ac7758f64ce8 /source/blender/editors/armature/pose_select.c
parent2529300f691109b9575ea75ae8367209751c3738 (diff)
parentd2bf60cc17a961789d7c415fc3d2af14afa50f62 (diff)
Merge branch 'master' into temp-abc-features
Diffstat (limited to 'source/blender/editors/armature/pose_select.c')
-rw-r--r--source/blender/editors/armature/pose_select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/pose_select.c b/source/blender/editors/armature/pose_select.c
index 17347aa57fe..0b889149f9d 100644
--- a/source/blender/editors/armature/pose_select.c
+++ b/source/blender/editors/armature/pose_select.c
@@ -746,7 +746,7 @@ static int pose_select_hierarchy_exec(bContext *C, wmOperator *op)
const bool add_to_sel = RNA_boolean_get(op->ptr, "extend");
bool changed = false;
- pchan_act = BKE_pose_channel_active(ob);
+ pchan_act = BKE_pose_channel_active_if_layer_visible(ob);
if (pchan_act == NULL) {
return OPERATOR_CANCELLED;
}