[Bf-blender-cvs] [5717612f7c9] blender2.8: Fix invisible scroll-bars after file read
Julian Eisel
noreply at git.blender.org
Sun May 13 16:40:13 CEST 2018
Commit: 5717612f7c9a94a11420b3aa06c9674d3574043e
Author: Julian Eisel
Date: Sun May 13 16:36:41 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB5717612f7c9a94a11420b3aa06c9674d3574043e
Fix invisible scroll-bars after file read
Own mistake from 51efeb683451d896.
===================================================================
M source/blender/blenloader/intern/readfile.c
===================================================================
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 56f18072843..4f3ca7e52ab 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -6347,7 +6347,7 @@ static void direct_link_region(FileData *fd, ARegion *ar, int spacetype)
ar->v2d.tab_num = 0;
ar->v2d.tab_cur = 0;
ar->v2d.sms = NULL;
- ar->v2d.alpha_hor = ar->v2d.alpha_vert = 0;
+ ar->v2d.alpha_hor = ar->v2d.alpha_vert = 255; /* visible by default */
ar->v2d.size_hor = ar->v2d.size_vert = 0;
BLI_listbase_clear(&ar->panels_category);
BLI_listbase_clear(&ar->handlers);
More information about the Bf-blender-cvs
mailing list