diff options
author | Jens Ole Wund <bjornmose@gmx.net> | 2010-06-12 03:05:43 +0400 |
---|---|---|
committer | Jens Ole Wund <bjornmose@gmx.net> | 2010-06-12 03:05:43 +0400 |
commit | bb0b5967111b07ed1a9a82f32420bc4c07215409 (patch) | |
tree | 61d52397cf76aaf8a22eba06f4ec21df1c9d0cc3 /source/blender/blenkernel/intern/softbody.c | |
parent | dba99b544bb9561405c6305e8fb90d369526407f (diff) |
adding TODO comment
Diffstat (limited to 'source/blender/blenkernel/intern/softbody.c')
-rw-r--r-- | source/blender/blenkernel/intern/softbody.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/softbody.c b/source/blender/blenkernel/intern/softbody.c index c06e0679a7d..eb7c67c8688 100644 --- a/source/blender/blenkernel/intern/softbody.c +++ b/source/blender/blenkernel/intern/softbody.c @@ -3584,7 +3584,11 @@ static void curve_surf_to_softbody(Scene *scene, Object *ob) setgoal= 1; for(nu= cu->nurb.first; nu; nu= nu->next) { - if(nu->bezt) { + if(nu->bezt) { + /* bezier case ; this is nicly said naive; who ever wrote this part, it was not me (JOW) :) */ + /* a: never ever make tangent handles (sub) and or (ob)ject to collision */ + /* b: rather calculate them using some C2 (C2= continous in second derivate -> no jump in bending ) condition */ + /* not too hard to do, but needs some more code to care for; some one may want look at it JOW 2010/06/12*/ for(bezt=nu->bezt, a=0; a<nu->pntsu; a++, bezt++, bp+=3, curindex+=3) { if(setgoal) { bp->goal= bezt->weight; |