diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2022-02-03 15:52:41 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2022-02-03 16:06:09 +0300 |
commit | b4e06bd7d4389a9f69b1754d7de7cc88d00ba801 (patch) | |
tree | 282106a7f277fda931434658629e945112d2da30 /source/blender/editors/space_view3d/view3d_navigate.c | |
parent | 1963ad52cea20834505bf899ebac9bee0fccd6da (diff) |
Cleanup: Rename 'TRACKBALLSIZE' to 'V3D_OP_TRACKBALLSIZE'
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_navigate.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_navigate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_navigate.c b/source/blender/editors/space_view3d/view3d_navigate.c index d57a803b73f..7818a062eb5 100644 --- a/source/blender/editors/space_view3d/view3d_navigate.c +++ b/source/blender/editors/space_view3d/view3d_navigate.c @@ -114,7 +114,7 @@ void view3d_operator_properties_common(wmOperatorType *ot, const enum eV3D_OpPro void calctrackballvec(const rcti *rect, const int event_xy[2], float r_dir[3]) { - const float radius = TRACKBALLSIZE; + const float radius = V3D_OP_TRACKBALLSIZE; const float t = radius / (float)M_SQRT2; const float size[2] = {BLI_rcti_size_x(rect), BLI_rcti_size_y(rect)}; /* Aspect correct so dragging in a non-square view doesn't squash the direction. |