[Bf-blender-cvs] [9b84535] master: Quick fix/hack for too small 'operator' panel in filebrowser

Bastien Montagne noreply at git.blender.org
Tue Feb 17 15:18:13 CET 2015


Commit: 9b845359a6b9b5d797ae4f6d6fc4628ab76f088f
Author: Bastien Montagne
Date:   Tue Feb 17 15:15:55 2015 +0100
Branches: master
https://developer.blender.org/rB9b845359a6b9b5d797ae4f6d6fc4628ab76f088f

Quick fix/hack for too small 'operator' panel in filebrowser

Real issue is that temp area used to draw modal filebrowser is never saved,
so non of UI 'edits' (like UIList resize, regions resize, panels reorder, etc.)
are ever saved. Should be addressed, but no time for that currently.

===================================================================

M	source/blender/editors/space_file/space_file.c

===================================================================

diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c
index 4d41f24..782b318 100644
--- a/source/blender/editors/space_file/space_file.c
+++ b/source/blender/editors/space_file/space_file.c
@@ -659,7 +659,7 @@ void ED_spacetype_file(void)
 	art = MEM_callocN(sizeof(ARegionType), "spacetype file operator region");
 	art->regionid = RGN_TYPE_TOOL_PROPS;
 	art->prefsizex = 0;
-	art->prefsizey = 240;
+	art->prefsizey = 360;
 	art->keymapflag = ED_KEYMAP_UI;
 	art->listener = file_tools_area_listener;
 	art->init = file_tools_area_init;




More information about the Bf-blender-cvs mailing list