Fix #116138: make hidden bones show up in Properties when selected in Outliner #117012

Open
Cedric-Hutchings wants to merge 1 commits from Cedric-Hutchings/blender:hidden-bones into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
2 changed files with 9 additions and 18 deletions

View File

@ -65,13 +65,6 @@ void ED_armature_edit_sync_selection(ListBase *edbo)
void ED_armature_edit_validate_active(bArmature *arm)
{
EditBone *ebone = arm->act_edbone;
if (ebone) {
if (ebone->flag & BONE_HIDDEN_A) {
arm->act_edbone = nullptr;
}
}
}
/** \} */

View File

@ -638,7 +638,6 @@ static void tree_element_ebone_activate(bContext *C,
EditBone *ebone = static_cast<EditBone *>(te->directdata);
if (set == OL_SETSEL_NORMAL) {
if (!(ebone->flag & BONE_HIDDEN_A)) {
uint bases_len = 0;
ObjectsInModeParams ob_params{};
@ -652,7 +651,6 @@ static void tree_element_ebone_activate(bContext *C,
tree_element_active_ebone__sel(C, arm, ebone, true);
}
}
else if (set == OL_SETSEL_EXTEND) {
if (!(ebone->flag & BONE_HIDDEN_A)) {
if (!(ebone->flag & BONE_SELECTED)) {