Commit: a08d90f0706270c87352ff7c33777905291c45a1
Author: Ines Almeida
Date: Fri May 8 19:22:41 2015 +0100
Branches: master
https://developer.blender.org/rBa08d90f0706270c87352ff7c33777905291c45a1
matcaps browser: changing emboss style and grid direction according to T44613
===================================================================
M source/blender/editors/interface/interface_templates.c
===================================================================
diff --git a/source/blender/editors/interface/interface_templates.c
b/source/blender/editors/interface/interface_templates.c
index 90bcddd..fe1a1b9 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -1651,7 +1651,7 @@ static uiBlock *ui_icon_view_menu_cb(bContext *C, ARegion
*ar, void *arg_litem)
/* arg_litem is malloced, can be freed by parent button */
cb = *((RNAUpdateCb *)arg_litem);
- block = UI_block_begin(C, ar, "_popup", UI_EMBOSS);
+ block = UI_block_begin(C, ar, "_popup", UI_EMBOSS_PULLDOWN);
UI_block_flag_enable(block, UI_BLOCK_LOOP);
@@ -1672,7 +1672,7 @@ static uiBlock *ui_icon_view_menu_cb(bContext *C, ARegion
*ar, void *arg_litem)
}
UI_block_bounds_set_normal(block, 0.3f * U.widget_unit);
- UI_block_direction_set(block, UI_DIR_UP);
+ UI_block_direction_set(block, UI_DIR_DOWN);
if (free) {
MEM_freeN(item);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs