View2D: More bugfixes
[blender-staging.git] / source / blender / editors / space_outliner / space_outliner.c
index 4fa10adcd9132ff7235437623554f9f56469577f..ba694754e13543f82c02c4c15124a4ffcfe74bca 100644 (file)
@@ -555,7 +555,8 @@ static SpaceLink *outliner_new(void)
        ar->v2d.scroll = (V2D_SCROLL_RIGHT|V2D_SCROLL_BOTTOM_O);
        ar->v2d.align = (V2D_ALIGN_NO_NEG_X|V2D_ALIGN_NO_POS_Y);
        ar->v2d.keepzoom = (V2D_LOCKZOOM_X|V2D_LOCKZOOM_Y|V2D_KEEPZOOM|V2D_KEEPASPECT);
-       ar->v2d.keeptot= 2;     /* XXX make define */
+       ar->v2d.keeptot= V2D_KEEPTOT_STRICT;
+       ar->v2d.minzoom= ar->v2d.maxzoom= 1.0f;
        
        return (SpaceLink*)soutliner;
 }