diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2006-12-09 04:10:21 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2006-12-09 04:10:21 +0300 |
commit | 178b5e11d2fe3cb9c2ed509996a3ed90f4e01f9c (patch) | |
tree | 72b8cc423c573a1bdd27fe85c3ef7941b10728fd /source/blender/src/buttons_editing.c | |
parent | 9a9c417d8a7d72c1a389f62ef7d5340302078476 (diff) |
Grab brush shouldn't show strength slider
Diffstat (limited to 'source/blender/src/buttons_editing.c')
-rw-r--r-- | source/blender/src/buttons_editing.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c index 2ff8d72640e..1a8502965e9 100644 --- a/source/blender/src/buttons_editing.c +++ b/source/blender/src/buttons_editing.c @@ -4081,7 +4081,8 @@ void sculptmode_draw_interface_tools(uiBlock *block, unsigned short cx, unsigned cy-= 20; but= uiDefButS(block,NUMSLI,B_NOP,"Size: ",cx,cy,200,19,&sculptmode_brush()->size,1.0,200.0,0,0,"Set brush radius in pixels"); cy-= 20; - uiDefButC(block,NUMSLI,B_NOP,"Strength: ",cx,cy,200,19,&sculptmode_brush()->strength,1.0,100.0,0,0,"Set brush strength"); + if(sd->brush_type!=GRAB_BRUSH) + uiDefButC(block,NUMSLI,B_NOP,"Strength: ",cx,cy,200,19,&sculptmode_brush()->strength,1.0,100.0,0,0,"Set brush strength"); cy-= 25; uiBlockBeginAlign(block); |