diff options
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r-- | source/blender/src/space.c | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c index 0339747ec66..cb838dc0b26 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -197,7 +197,7 @@ extern void StartKetsjiShellSimulation(ScrArea *area, char* startscenename, stru * When the mipmap setting changes, we want to redraw the view right * away to reflect this setting. */ -static void space_mipmap_button_function(int event); +//static void space_mipmap_button_function(int event); static void free_soundspace(SpaceSound *ssound); @@ -3316,13 +3316,14 @@ void initipo(ScrArea *sa) /* ******************** SPACE: INFO ********************** */ +#if 0 static void space_mipmap_button_function(int event) { GPU_set_mipmap(!(U.gameflags & USER_DISABLE_MIPMAP)); allqueue(REDRAWVIEW3D, 0); } -#if 0 + static void space_sound_button_function(int event) { int a; @@ -4110,14 +4111,22 @@ void drawinfospace(ScrArea *sa, void *spacedata) uiDefBut(block, LABEL,0,"Grease Pencil:", (xpos+(2*edgsp)+(3*midsp)+(3*mpref)+spref),y6label,mpref,buth, 0, 0, 0, 0, 0, ""); - + uiBlockBeginAlign(block); uiDefButS(block, NUM, 0, "Manhatten Dist:", - (xpos+(4*midsp)+(3*mpref)+mpref),y5,mpref,buth, + (xpos+(4*midsp)+(3*mpref)+spref),y5,(spref*1.5),buth, &(U.gp_manhattendist), 0, 100, 0, 0, "Pixels moved by mouse per axis when drawing stroke"); uiDefButS(block, NUM, 0, "Euclidean Dist:", - (xpos+(5*midsp)+(3*mpref)+(2*mpref)),y5,mpref,buth, + (xpos+(5*midsp)+(3*mpref)+(spref*2.5)),y5,(spref*1.5),buth, &(U.gp_euclideandist), 0, 100, 0, 0, "Distance moved by mouse when drawing stroke (in pixels) to include"); + + + uiDefButS(block, NUM, 0, "Eraser Radius:", + (xpos+(7*midsp)+(3*mpref)+(3.75*spref)),y5,spref*1.5,buth, + &(U.gp_eraser), 0, 100, 0, 0, "Radius of eraser 'brush'"); + uiDefButBitS(block, TOG, GP_PAINT_DOSMOOTH, 0,"Smooth Stroke", + (xpos+(8*midsp)+(3*mpref)+(5*spref)),y5,spref,buth, + &(U.gp_settings), 0, 100, 0, 0, "Smooth the final stroke"); uiBlockEndAlign(block); } else if(U.userpref == 2) { /* language & colors */ |