diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2022-06-07 04:59:32 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2022-06-07 06:38:23 +0300 |
commit | ea182deeb9cdd2a9137e98eb0072f57c0fb1e09f (patch) | |
tree | a15fcaed353ebd957212ea5e871cde2fbd6bd2bd /source/blender/editors/transform/transform_snap.h | |
parent | b3101abcce967c1a623c9e732199b69140a210c0 (diff) |
Remove workaround for drawing the rotation gizmo
Since [0], transform gizmos are no longer hidden during transform.
The same can be observed for rotation gizmos.
However, as a workaround for these rotation gizmos, there was already a
drawing utility running.
With the gizmo and the utility this drawing is now being done twice.
So remove the utility/workaround and update the gizmo accordingly.
[0] {648350e456490f8d6258e7de9bf94d3a6a34dbb2}
Differential Revision: https://developer.blender.org/D9542
Diffstat (limited to 'source/blender/editors/transform/transform_snap.h')
-rw-r--r-- | source/blender/editors/transform/transform_snap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_snap.h b/source/blender/editors/transform/transform_snap.h index 031584c7fbc..6db027df067 100644 --- a/source/blender/editors/transform/transform_snap.h +++ b/source/blender/editors/transform/transform_snap.h @@ -36,6 +36,7 @@ bool transformModeUseSnap(const TransInfo *t); bool transform_snap_increment_ex(const TransInfo *t, bool use_local_space, float *r_val); bool transform_snap_increment(const TransInfo *t, float *val); +float transform_snap_increment_get(const TransInfo *t); bool transform_snap_grid(TransInfo *t, float *val); bool activeSnap(const TransInfo *t); |