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:
authorRob Haarsma <phaseIV@zonnet.nl>2004-01-13 17:50:45 +0300
committerRob Haarsma <phaseIV@zonnet.nl>2004-01-13 17:50:45 +0300
commit4a8f52f61983f33714cdd57d0064a4df208357b1 (patch)
tree96677fd6134ae92074fca3f43ea64f32ca39b820 /source/blender/src/editsima.c
parentd74da9789a2124f1a8a3cf6f8f9070b127dff73d (diff)
Converted the Userpreference buttons to zr's new ButBit calls.
Also added USER_* to each define located in DNA_userdef.h.
Diffstat (limited to 'source/blender/src/editsima.c')
-rw-r--r--source/blender/src/editsima.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c
index 856eb8255ab..34c99df4e68 100644
--- a/source/blender/src/editsima.c
+++ b/source/blender/src/editsima.c
@@ -403,8 +403,8 @@ void transform_tface_uv(int mode)
dvec2[0]= dvec[0];
dvec2[1]= dvec[1];
- apply_keyb_grid(dvec2, 0.0, 1.0/8.0, 1.0/16.0, U.flag & AUTOGRABGRID);
- apply_keyb_grid(dvec2+1, 0.0, 1.0/8.0, 1.0/16.0, U.flag & AUTOGRABGRID);
+ apply_keyb_grid(dvec2, 0.0, 1.0/8.0, 1.0/16.0, U.flag & USER_AUTOGRABGRID);
+ apply_keyb_grid(dvec2+1, 0.0, 1.0/8.0, 1.0/16.0, U.flag & USER_AUTOGRABGRID);
vec[0]= dvec2[0];
vec[1]= dvec2[1];
@@ -446,7 +446,7 @@ void transform_tface_uv(int mode)
if(G.qual & LR_SHIFTKEY) phi+= dphi/30.0;
else phi+= dphi;
- apply_keyb_grid(&phi, 0.0, (5.0/180)*M_PI, (1.0/180)*M_PI, U.flag & AUTOROTGRID);
+ apply_keyb_grid(&phi, 0.0, (5.0/180)*M_PI, (1.0/180)*M_PI, U.flag & USER_AUTOROTGRID);
dx1= dx2;
dy1= dy2;
@@ -482,8 +482,8 @@ void transform_tface_uv(int mode)
if(midtog) size[proj]= 1.0;
- apply_keyb_grid(size, 0.0, 0.1, 0.01, U.flag & AUTOSIZEGRID);
- apply_keyb_grid(size+1, 0.0, 0.1, 0.01, U.flag & AUTOSIZEGRID);
+ apply_keyb_grid(size, 0.0, 0.1, 0.01, U.flag & USER_AUTOSIZEGRID);
+ apply_keyb_grid(size+1, 0.0, 0.1, 0.01, U.flag & USER_AUTOSIZEGRID);
size[0]*= xref;
size[1]*= yref;