2.5 - NLA SoC Branch Merged to 2.5!
[blender.git] / source / blender / editors / interface / view2d.c
index c3a0b2a2cdd558749e5f4e700cfa801887b96e2e..6df7b1c8e281b970ceaea43629741def1b1d3fee 100644 (file)
@@ -273,6 +273,9 @@ void UI_view2d_region_reinit(View2D *v2d, short type, int winx, int winy)
 
                                v2d->cur.ymax= 0.0f;
                                v2d->cur.ymin= -winy*style->panelzoom;
+
+                               v2d->cur.ymax= 0.0f;
+                               v2d->cur.ymin= -winy*style->panelzoom;
                        }
                                break;