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/editipo.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/editipo.c')
-rw-r--r--source/blender/src/editipo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c
index 3e79f38de2e..1e4b49a3810 100644
--- a/source/blender/src/editipo.c
+++ b/source/blender/src/editipo.c
@@ -4760,7 +4760,7 @@ void transform_ipo(int mode)
vec[0]= dvec[0];
vec[1]= dvec[1];
- apply_keyb_grid(vec, 0.0, (float)1.0, (float)0.1, U.flag & AUTOGRABGRID);
+ apply_keyb_grid(vec, 0.0, (float)1.0, (float)0.1, U.flag & USER_AUTOGRABGRID);
apply_keyb_grid(vec+1, 0.0, (float)1.0, (float)0.1, 0);
tv= transmain;
@@ -4781,8 +4781,8 @@ void transform_ipo(int mode)
size[0]*= xref;
size[1]*= yref;
- apply_keyb_grid(size, 0.0, (float)0.2, (float)0.1, U.flag & AUTOSIZEGRID);
- apply_keyb_grid(size+1, 0.0, (float)0.2, (float)0.1, U.flag & AUTOSIZEGRID);
+ apply_keyb_grid(size, 0.0, (float)0.2, (float)0.1, U.flag & USER_AUTOSIZEGRID);
+ apply_keyb_grid(size+1, 0.0, (float)0.2, (float)0.1, U.flag & USER_AUTOSIZEGRID);
tv= transmain;