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>2006-11-16 23:55:11 +0300
committerTon Roosendaal <ton@blender.org>2006-11-16 23:55:11 +0300
commit7686e2cc5c1fba8ed8c2a9b4fc2698fb10e12f9f (patch)
tree1632b4f14a0e1c92674f9e3f302d1803e1ed606c /source/blender/src/drawview.c
parent8f2ad64f3de00116dfb85d6b7675ade03b4fabf2 (diff)
New stuff:
- Weight paint options now also show in Nkey panel - added uiNewPanelTitle() in interface API to rename panels. In use now for the Nkey panel title. (Note: original name is identifier, do not change that)
Diffstat (limited to 'source/blender/src/drawview.c')
-rw-r--r--source/blender/src/drawview.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/src/drawview.c b/source/blender/src/drawview.c
index 46c7beeedcc..ae332c07b1b 100644
--- a/source/blender/src/drawview.c
+++ b/source/blender/src/drawview.c
@@ -2284,11 +2284,17 @@ static void view3d_panel_object(short cntrl) // VIEW3D_HANDLER_OBJECT
if(G.f & G_VERTEXPAINT) rgb= &Gvp.r;
else if(settings->imapaint.brush) rgb= settings->imapaint.brush->rgb;
+ uiNewPanelTitle(block, "Paint Properties");
if (rgb)
/* 'f' is for floating panel */
uiBlockPickerButtons(block, rgb, hsv, old, hexcol, 'f', REDRAWBUTSEDIT);
}
+ else if(G.f & G_WEIGHTPAINT) {
+ uiNewPanelTitle(block, "Weight Paint Properties");
+ weight_paint_buttons(block);
+ }
else if(G.f & G_SCULPTMODE) {
+ uiNewPanelTitle(block, "Sculpt Properties");
sculptmode_draw_interface_tools(block,10,150);
sculptmode_draw_interface_textures(block,220,150);
} else {