Compile fix.
authorNathan Letwory <nathan@letworyinteractive.com>
Tue, 2 Aug 2011 23:49:07 +0000 (23:49 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Tue, 2 Aug 2011 23:49:07 +0000 (23:49 +0000)
source/blender/editors/space_image/image_ops.c

index 1f37583b4450cdba006007b36585098239fa43f9..e0ebde589a8be34fd2de024e54ebd6cc12b28613 100644 (file)
@@ -452,6 +452,7 @@ static int view_ndof_invoke(bContext *C, wmOperator *UNUSED(op), wmEvent *event)
 
        wmNDOFMotionData* ndof = (wmNDOFMotionData*) event->customdata;
 
+       float dt = ndof->dt;
        /* tune these until it feels right */
        const float zoom_sensitivity = 0.5f; // 50% per second (I think)
        const float pan_sensitivity = 300.f; // screen pixels per second