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:
authorCampbell Barton <ideasman42@gmail.com>2014-04-30 01:48:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-30 02:11:47 +0400
commit48446870a8981c28ee4c695823d12fb4419e56eb (patch)
treea9b80b92be135af86d451b60a6b55a4e33bf0fb0 /source/blender/editors/space_view3d/view3d_walk.c
parentcdaff060265ef81539d04f6ad1f16762dbbba288 (diff)
Code cleanup: remove redundant CTX calls
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_walk.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_walk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_walk.c b/source/blender/editors/space_view3d/view3d_walk.c
index fa395c9af31..8180ac12d80 100644
--- a/source/blender/editors/space_view3d/view3d_walk.c
+++ b/source/blender/editors/space_view3d/view3d_walk.c
@@ -543,7 +543,7 @@ static bool initWalkInfo(bContext *C, WalkInfo *walk, wmOperator *op)
copy_v2_v2_int(walk->prev_mval, walk->center_mval);
- WM_cursor_warp(CTX_wm_window(C),
+ WM_cursor_warp(win,
walk->ar->winrct.xmin + walk->center_mval[0],
walk->ar->winrct.ymin + walk->center_mval[1]);