Fix #116138: make hidden bones show up in Properties when selected in Outliner #117012
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** \} */
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue