From d4eac8189ead0db6b01f3b393f563158cff0ca92 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Mon, 31 Dec 2012 14:56:07 +0000 Subject: Removed on old patch from the code, which attempted to keep the scrollers in user preferences in place. New scroller code made user pref scroller jump back on activating add-ons, because that causes a full blender system refresh. --- source/blender/editors/screen/area.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/blender/editors/screen') diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 827f19307b8..5af60726f14 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1783,10 +1783,6 @@ void ED_region_panels(const bContext *C, ARegion *ar, int vertical, const char * void ED_region_panels_init(wmWindowManager *wm, ARegion *ar) { wmKeyMap *keymap; - - /* used for correctly initialized User-Prefs only? */ -// if (!(ar->v2d.align & V2D_ALIGN_NO_POS_Y)) -// ar->v2d.flag &= ~V2D_IS_INITIALISED; UI_view2d_region_reinit(&ar->v2d, V2D_COMMONVIEW_PANELS_UI, ar->winx, ar->winy); -- cgit v1.2.3