Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-09-24 19:10:08 +0400
committerTon Roosendaal <ton@blender.org>2005-09-24 19:10:08 +0400
commit0ce3341aaaeea41f61cbbfde892d1d216156f3bd (patch)
tree95cd7ec5f54929017df09496ac6059673f92629b /source/blender/src/header_buttonswin.c
parentabe9799c471dd0b139b1422a811dbe4963c50e33 (diff)
Created a new sub-context ("tab") for all physics related button panels.
There we can find now Particles, Fields & deflectors, Soft Body and Fluids. This also as preparation for more work on the particle side (becomes two panels). Also renamed panels, and made sure the name "Soft Body" is spelled every- where the same! It uses an icon as was designed long ago already. Needs some thinking...
Diffstat (limited to 'source/blender/src/header_buttonswin.c')
-rw-r--r--source/blender/src/header_buttonswin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/header_buttonswin.c b/source/blender/src/header_buttonswin.c
index ad8c69feb55..48d814e3c91 100644
--- a/source/blender/src/header_buttonswin.c
+++ b/source/blender/src/header_buttonswin.c
@@ -619,6 +619,9 @@ void buts_buttons(void)
break;
case CONTEXT_OBJECT:
+ uiBlockBeginAlign(block);
+ uiDefIconButC(block, ROW, B_REDR, ICON_OBJECT, xco+=XIC, t_base, XIC, YIC, &(G.buts->tab[CONTEXT_OBJECT]), 1.0, (float)TAB_OBJECT_OBJECT, 0, 0, "Object buttons ");
+ uiDefIconButC(block, ROW, B_REDR, ICON_EFFECTS, xco+=XIC, t_base, XIC, YIC, &(G.buts->tab[CONTEXT_OBJECT]), 1.0, (float)TAB_OBJECT_PHYSICS, 0, 0, "Physics buttons");
break;
case CONTEXT_SHADING: