[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29420] trunk/blender/source/blender/ blenkernel/intern/softbody.c: adding TODO comment

Jens Ole Wund (bjornmose) bjornmose at gmx.net
Sat Jun 12 01:05:43 CEST 2010


Revision: 29420
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29420
Author:   bjornmose
Date:     2010-06-12 01:05:43 +0200 (Sat, 12 Jun 2010)

Log Message:
-----------
adding TODO comment

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/softbody.c

Modified: trunk/blender/source/blender/blenkernel/intern/softbody.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/softbody.c	2010-06-11 22:44:56 UTC (rev 29419)
+++ trunk/blender/source/blender/blenkernel/intern/softbody.c	2010-06-11 23:05:43 UTC (rev 29420)
@@ -3584,7 +3584,11 @@
 		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;





More information about the Bf-blender-cvs mailing list