Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano Cavalcante <germano.costa@ig.com.br>2022-02-03 15:52:41 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2022-02-03 16:06:09 +0300
commitb4e06bd7d4389a9f69b1754d7de7cc88d00ba801 (patch)
tree282106a7f277fda931434658629e945112d2da30 /source/blender/editors/space_view3d/view3d_navigate_rotate.c
parent1963ad52cea20834505bf899ebac9bee0fccd6da (diff)
Cleanup: Rename 'TRACKBALLSIZE' to 'V3D_OP_TRACKBALLSIZE'
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_navigate_rotate.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_navigate_rotate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_navigate_rotate.c b/source/blender/editors/space_view3d/view3d_navigate_rotate.c
index 081fdb258d9..e846a3ba1db 100644
--- a/source/blender/editors/space_view3d/view3d_navigate_rotate.c
+++ b/source/blender/editors/space_view3d/view3d_navigate_rotate.c
@@ -201,7 +201,7 @@ static void viewrotate_apply(ViewOpsData *vod, const int event_xy[2])
sub_v3_v3v3(dvec, newvec, vod->init.trackvec);
- angle = (len_v3(dvec) / (2.0f * TRACKBALLSIZE)) * (float)M_PI;
+ angle = (len_v3(dvec) / (2.0f * V3D_OP_TRACKBALLSIZE)) * (float)M_PI;
/* Before applying the sensitivity this is rotating 1:1,
* where the cursor would match the surface of a sphere in the view. */