Commit: b3d0abd89350fd5ba99ebac47986f2ab343947a1 Author: Campbell Barton Date: Mon Mar 14 20:10:24 2022 +1100 Branches: master https://developer.blender.org/rBb3d0abd89350fd5ba99ebac47986f2ab343947a1
Fix T96378: B-Bone selection fails in pose-mode Regression in 3267c91b4d5caab7da8aef071a446dd2e86f86a9. =================================================================== M source/blender/draw/engines/overlay/overlay_armature.c =================================================================== diff --git a/source/blender/draw/engines/overlay/overlay_armature.c b/source/blender/draw/engines/overlay/overlay_armature.c index 10d48a871d3..a2f9ad0d369 100644 --- a/source/blender/draw/engines/overlay/overlay_armature.c +++ b/source/blender/draw/engines/overlay/overlay_armature.c @@ -2123,7 +2123,7 @@ static bool pchan_culling_test_bbone(const DRWView *view, BoundSphere bsphere; float size[3]; mat4_to_size(size, bbones_mat->mat); - copy_v3_v3(bsphere.center, bbones_mat->mat[3]); + mul_v3_m4v3(bsphere.center, ob->obmat, bbones_mat->mat[3]); bsphere.radius = len_v3(size) * ob_scale; if (DRW_culling_sphere_test(view, &bsphere)) { return true; _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs