diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-24 00:18:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-24 00:18:09 +0400 |
commit | 7ff77ed4ea7c6d8fb8b2e75320175b9cbd6ff20a (patch) | |
tree | fcdb22c3f2fa64e08a6cf8182b80405ab0e141f9 /source/blender/editors/space_view3d/view3d_fly.c | |
parent | 402a9d59383d68bff72b3c9da3e53f3e5abcd578 (diff) |
code cleanup: use zero_v3
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_fly.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_fly.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_fly.c b/source/blender/editors/space_view3d/view3d_fly.c index 6e5a3b2dc54..819d3e0ca4a 100644 --- a/source/blender/editors/space_view3d/view3d_fly.c +++ b/source/blender/editors/space_view3d/view3d_fly.c @@ -314,7 +314,7 @@ static int initFlyInfo(bContext *C, FlyInfo *fly, wmOperator *op, wmEvent *event #ifdef NDOF_FLY_DRAW_TOOMUCH fly->redraw= 1; #endif - fly->dvec_prev[0] = fly->dvec_prev[1] = fly->dvec_prev[2] = 0.0f; + zero_v3(fly->dvec_prev); fly->timer = WM_event_add_timer(CTX_wm_manager(C), win, TIMER, 0.01f); |