Fix for own error with updating view2d for NDOF
authorCampbell Barton <ideasman42@gmail.com>
Sat, 1 Mar 2014 04:28:51 +0000 (15:28 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 1 Mar 2014 04:28:51 +0000 (15:28 +1100)
source/blender/editors/interface/view2d_ops.c

index d3236f611462388c2e49f8465c4be4af615b9841..41683b1cd12d3e96915ce53dac01ddf381c86f71 100644 (file)
@@ -569,7 +569,7 @@ static void view_zoom_axis_lock_defaults(bContext *C, bool r_do_zoom_xy[2])
                ARegion *ar = CTX_wm_region(C);
 
                if (ar && ar->regiontype != RGN_TYPE_PREVIEW)
-                       r_do_zoom_xy = false;
+                       r_do_zoom_xy[1] = false;
        }
 }