From 178b5e11d2fe3cb9c2ed509996a3ed90f4e01f9c Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Sat, 9 Dec 2006 01:10:21 +0000 Subject: [PATCH] Grab brush shouldn't show strength slider --- source/blender/src/buttons_editing.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);