Fix T96347: Pose gizmo shown at wrong location with multiple objects
Regression in [0] follow the same logic as edit-mode for using the local-matrix.
[0]: d052169e7e
This commit is contained in:
parent
b486421284
commit
b20b672e76
Notes:
blender-bot
2024-04-29 13:07:32 +02:00
Referenced by issue #96347, Regression: The location of "Viewport Gizmos" is not correct in POSE mode (multi-object/armature editing, multiple bones selected) Referenced by issue #96241, 3.1: Potential candidates for corrective releases
|
@ -964,10 +964,8 @@ int ED_transform_calc_gizmo_stats(const bContext *C,
|
|||
|
||||
if (totsel_iter) {
|
||||
float mat_local[4][4];
|
||||
if (params->use_local_axis) {
|
||||
if (use_mat_local) {
|
||||
mul_m4_m4m4(mat_local, ob->imat, ob_iter->obmat);
|
||||
}
|
||||
if (use_mat_local) {
|
||||
mul_m4_m4m4(mat_local, ob->imat, ob_iter->obmat);
|
||||
}
|
||||
|
||||
/* use channels to get stats */
|
||||
|
|
Loading…
Reference in New Issue