diff options
author | Ton Roosendaal <ton@blender.org> | 2006-12-21 10:52:20 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-12-21 10:52:20 +0300 |
commit | 96dd39b84f551bbb2f9adfd024dbaeafa22f5e49 (patch) | |
tree | 6180eccddf553e187fc4348f913fc2127412d970 /source/blender/src/header_image.c | |
parent | 04fc326371ab36e8ca85a614b712c7a60825a764 (diff) |
UV Image Window:
Brought back the old "image properties" panel, which actually only showed
options for real-time textures. Available in pulldown menu as "Real-time
Properties".
Diffstat (limited to 'source/blender/src/header_image.c')
-rw-r--r-- | source/blender/src/header_image.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/src/header_image.c b/source/blender/src/header_image.c index e2839307212..0d9f76b1681 100644 --- a/source/blender/src/header_image.c +++ b/source/blender/src/header_image.c @@ -449,7 +449,11 @@ static void do_image_viewmenu(void *arg, int event) case 12: /* composite preview */ toggle_blockhandler(curarea, IMAGE_HANDLER_PREVIEW, 0); scrarea_queue_winredraw(curarea); - + break; + case 13: /* Realtime Panel... */ + add_blockhandler(curarea, IMAGE_HANDLER_GAME_PROPERTIES, UI_PNL_UNSTOW); + break; + } allqueue(REDRAWVIEW3D, 0); } @@ -464,6 +468,7 @@ static uiBlock *image_viewmenu(void *arg_unused) uiBlockSetButmFunc(block, do_image_viewmenu, NULL); uiDefIconTextBut(block, BUTM, 1, ICON_MENU_PANEL, "Properties...", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 7, ""); + uiDefIconTextBut(block, BUTM, 1, ICON_MENU_PANEL, "Real-time Properties...", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 13, ""); uiDefIconTextBut(block, BUTM, 1, ICON_MENU_PANEL, "Paint Tool...|C", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 8, ""); uiDefIconTextBut(block, BUTM, 1, ICON_MENU_PANEL, "Curves Tool...", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 11, ""); uiDefIconTextBut(block, BUTM, 1, ICON_MENU_PANEL, "Composite Preview...|Shift P", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 12, ""); |