diff options
author | Toni Alatalo <antont@kyperjokki.fi> | 2005-11-08 20:57:04 +0300 |
---|---|---|
committer | Toni Alatalo <antont@kyperjokki.fi> | 2005-11-08 20:57:04 +0300 |
commit | 19b75ae86deafe23475eebba2af51bcf6865ba5b (patch) | |
tree | e04183f27dbe431eb78420d293da6dfdd8c41f16 /source/blender/src/editcurve.c | |
parent | 15beb7db4222a4be6dc785acd6de07bb23e19005 (diff) |
uh next time i read properly before commit, and not only from the nice webcvs diff..
Diffstat (limited to 'source/blender/src/editcurve.c')
-rw-r--r-- | source/blender/src/editcurve.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/editcurve.c b/source/blender/src/editcurve.c index a72ddf68036..85437848da2 100644 --- a/source/blender/src/editcurve.c +++ b/source/blender/src/editcurve.c @@ -2613,7 +2613,7 @@ void addvert_Nurb(int mode) memcpy(newbezt+1, bezt, nu->pntsu*sizeof(BezTriple)); *newbezt= *bezt; newbezt->f1= newbezt->f2= newbezt->f3= 1; - if(newbezt >= 0) newbezt->h2= newbezt->h1; + if(newbezt->h1 >= 0) newbezt->h2= newbezt->h1; else newbezt->h2= newbezt->h1= HD_ALIGN; /* does this ever happen? */ VECCOPY(temp, bezt->vec[1]); MEM_freeN(nu->bezt); @@ -2631,7 +2631,7 @@ void addvert_Nurb(int mode) nu->bezt= newbezt; newbezt+= nu->pntsu; newbezt->f1= newbezt->f2= newbezt->f3= 1; - if(newbezt >= 0) newbezt->h2= newbezt->h1; + if(newbezt->h1 >= 0) newbezt->h2= newbezt->h1; else newbezt->h2= newbezt->h1= HD_ALIGN; /* does this ever happen? */ bezt= nu->bezt+nu->pntsu-1; } |