Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/space_console')
-rw-r--r--source/blender/editors/space_console/space_console.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_console/space_console.c b/source/blender/editors/space_console/space_console.c
index 4243ae4e2df..ace39f8d669 100644
--- a/source/blender/editors/space_console/space_console.c
+++ b/source/blender/editors/space_console/space_console.c
@@ -138,6 +138,9 @@ static void console_main_area_init(wmWindowManager *wm, ARegion *ar)
const float prev_y_min = ar->v2d.cur.ymin; /* so re-sizing keeps the cursor visible */
+ /* force it on init, for old files, until it becomes config */
+ ar->v2d.scroll = (V2D_SCROLL_RIGHT);
+
UI_view2d_region_reinit(&ar->v2d, V2D_COMMONVIEW_CUSTOM, ar->winx, ar->winy);
/* always keep the bottom part of the view aligned, less annoying */