2.5: Buttons View
[blender-staging.git] / source / blender / editors / space_console / space_console.c
index 408d0410067952f63fb41436f7e07d7958028707..e406cc5a56119cb9123af693519573c880f60700 100644 (file)
@@ -100,12 +100,12 @@ static SpaceLink *console_new(const bContext *C)
        ar->v2d.scroll |= (V2D_SCROLL_RIGHT);
        ar->v2d.align |= V2D_ALIGN_NO_NEG_X|V2D_ALIGN_NO_NEG_Y; /* align bottom left */
        ar->v2d.keepofs |= V2D_LOCKOFS_X;
-       ar->v2d.keepzoom = (V2D_LOCKZOOM_X|V2D_LOCKZOOM_Y|V2D_KEEPZOOM|V2D_KEEPASPECT);
+       ar->v2d.keepzoom = (V2D_LOCKZOOM_X|V2D_LOCKZOOM_Y|V2D_LIMITZOOM|V2D_KEEPASPECT);
        ar->v2d.keeptot= V2D_KEEPTOT_BOUNDS;
        ar->v2d.minzoom= ar->v2d.maxzoom= 1.0f;
 
        /* for now, aspect ratio should be maintained, and zoom is clamped within sane default limits */
-       //ar->v2d.keepzoom= (V2D_KEEPASPECT|V2D_KEEPZOOM);
+       //ar->v2d.keepzoom= (V2D_KEEPASPECT|V2D_LIMITZOOM);
 
        return (SpaceLink *)sconsole;
 }