diff options
author | Ton Roosendaal <ton@blender.org> | 2003-10-11 18:12:14 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-10-11 18:12:14 +0400 |
commit | a153a7616beb8ec29d0874c482ce402e64f8f982 (patch) | |
tree | 9ab8829183c5b3029c4ea2a85c65c9a42ada47f7 /source/blender/src/header_buttonswin.c | |
parent | b8be7337f03cab9cc5eb1f469380c8c81eb472cf (diff) |
- two more panels for material buttons. work in progress....
Diffstat (limited to 'source/blender/src/header_buttonswin.c')
-rw-r--r-- | source/blender/src/header_buttonswin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/header_buttonswin.c b/source/blender/src/header_buttonswin.c index 4dfbfddaa76..279694815ea 100644 --- a/source/blender/src/header_buttonswin.c +++ b/source/blender/src/header_buttonswin.c @@ -455,6 +455,9 @@ void buts_buttons(void) int tab= G.buts->tab[CONTEXT_SHADING]; if(tab==TAB_SHADING_MAT) { +#if 0 +moved to buttonswin! + if(ob && (ob->type<OB_LAMP) && ob->type) { xco= std_libbuttons(block, xco, 0, NULL, B_MATBROWSE, id, idfrom, &(G.buts->menunr), B_MATALONE, B_MATLOCAL, B_MATDELETE, B_AUTOMATNAME, B_KEEPDATA); } @@ -471,6 +474,7 @@ void buts_buttons(void) uiDefIconBut(block, BUT, B_MATPASTE, ICON_PASTEDOWN, xco+=XIC,0,XIC,YIC, 0, 0, 0, 0, 0, "Pastes Material from the buffer"); } xco+=XIC; +#endif } else if(tab==TAB_SHADING_TEX) { if(G.buts->texfrom==0) { |