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/editnla.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/editnla.c')
-rw-r--r--source/blender/src/editnla.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/editnla.c b/source/blender/src/editnla.c
index be6b0307270..e6674a01d64 100644
--- a/source/blender/src/editnla.c
+++ b/source/blender/src/editnla.c
@@ -856,7 +856,7 @@ static void transform_nlachannel_keys(char mode)
deltax = cval[0]-sval[0];
fac= deltax;
- apply_keyb_grid(&fac, 0.0F, 1.0F, 0.1F, U.flag & AUTOGRABGRID);
+ apply_keyb_grid(&fac, 0.0F, 1.0F, 0.1F, U.flag & USER_AUTOGRABGRID);
if (tv[i].loc)
tv[i].loc[0]+=fac;
@@ -868,7 +868,7 @@ static void transform_nlachannel_keys(char mode)
deltax=mvalc[0]-(NLAWIDTH/2+(curarea->winrct.xmax-curarea->winrct.xmin)/2);
fac= (float)fabs(deltax/startx);
- apply_keyb_grid(&fac, 0.0F, 0.2F, 0.1F, U.flag & AUTOSIZEGRID);
+ apply_keyb_grid(&fac, 0.0F, 0.2F, 0.1F, U.flag & USER_AUTOSIZEGRID);
if (invert){
if (i % 03 == 0){