Fix T69273: Rotate tool gizmo not showing incremental snapping tick marks
This commit is contained in:
parent
b1079ec3f2
commit
07b1a5e05c
Notes:
blender-bot
2023-02-14 08:39:23 +01:00
Referenced by issue #69273, The rotate tool gizmo no longer shows snapping tick marks when holding CTRL duration the rotation
|
@ -1392,7 +1392,8 @@ void drawDial3d(const TransInfo *t)
|
|||
scale *= ED_view3d_pixel_size_no_ui_scale(t->ar->regiondata, mat_final[3]);
|
||||
mul_mat3_m4_fl(mat_final, scale);
|
||||
|
||||
if ((t->tsnap.mode & (SCE_SNAP_MODE_INCREMENT | SCE_SNAP_MODE_GRID)) && activeSnap(t)) {
|
||||
if (activeSnap(t) && (!transformModeUseSnap(t) ||
|
||||
(t->tsnap.mode & (SCE_SNAP_MODE_INCREMENT | SCE_SNAP_MODE_GRID)))) {
|
||||
increment = (t->modifiers & MOD_PRECISION) ? t->snap[2] : t->snap[1];
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue