Fix #131378: Selectino: Bone select in posemode is broken

The modified condition was not changed properly.
There is no need for the condition at all if there is
no culling needed.
This commit is contained in:
Clément Foucault
2024-12-04 16:00:41 +01:00
parent a31b6c1863
commit f7d271dd92

View File

@@ -2186,9 +2186,7 @@ void Armatures::draw_armature_pose(Armatures::DrawContext *ctx)
}
draw_strat.update_display_matrix(bone_ptr);
if (!is_pose_select) {
draw_strat.draw_bone(ctx, bone_ptr, boneflag, select_id);
}
draw_strat.draw_bone(ctx, bone_ptr, boneflag, select_id);
/* Below this point nothing is used for selection queries. */
if (is_pose_select) {