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-02-22 09:19:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-22 09:30:48 +0400
commit739ae1d80956759767e137fe17286dc360788a1b (patch)
tree64736e18dccebcc24cc4f96b530eeca1f1f3f775 /source/blender/editors/space_view3d/view3d_walk.c
parent3a44e975a9c96521b722d631207b87d0210e1202 (diff)
NDOF: fix for view3d ignoring lens values when panning
image, mce, view2d and view3d now have matching pan speed.
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 c6d0999d077..7d387332174 100644
--- a/source/blender/editors/space_view3d/view3d_walk.c
+++ b/source/blender/editors/space_view3d/view3d_walk.c
@@ -645,7 +645,7 @@ static void walkEvent(bContext *C, wmOperator *UNUSED(op), WalkInfo *walk, const
// puts("ndof motion detected in walk mode!");
// static const char *tag_name = "3D mouse position";
- wmNDOFMotionData *incoming_ndof = (wmNDOFMotionData *)event->customdata;
+ const wmNDOFMotionData *incoming_ndof = event->customdata;
switch (incoming_ndof->progress) {
case P_STARTING:
/* start keeping track of 3D mouse position */