forked from bartvdbraak/blender
Fix #107889: Scale Cage gizmo wrong in editmode with rotated objects
Object transforms were already respected, issue was just pre vs. post matrix multiplication when local axis were used. Should go into LTS as well I guess. Pull Request: https://projects.blender.org/blender/blender/pulls/108076
This commit is contained in:
parent
c007e6a346
commit
370b7ae917
@ -972,7 +972,7 @@ int ED_transform_calc_gizmo_stats(const bContext *C,
|
||||
copy_m3_m4(diff_mat, ob->object_to_world);
|
||||
normalize_m3(diff_mat);
|
||||
invert_m3(diff_mat);
|
||||
mul_m3_m3m3(tbounds->axis, tbounds->axis, diff_mat);
|
||||
mul_m3_m3_pre(tbounds->axis, diff_mat);
|
||||
normalize_m3(tbounds->axis);
|
||||
|
||||
tbounds->use_matrix_space = true;
|
||||
|
Loading…
Reference in New Issue
Block a user