[Bf-committers] flat cube on curve deform with msvc6 build

Ton Roosendaal ton at blender.org
Sun Nov 21 11:35:55 CET 2004


Hi,

Wow, great you discovered that error... the paths were changed long ago  
to also return a tilting angle. :)

Will change it, check all other calls, and add warning comments. And  
yes, using vector3 or vector4 structs wouldn't be an obsolete luxury in  
Blender!

-Ton-

On 20 Nov, 2004, at 13:22, bjornmose wrote:

> Hi ton and all
>
> i think lattice.c should read like this
> ....
> static void calc_curve_deform(Object *par, float *co, short axis,  
> CurveDeform *cd)
> {
> 	Curve *cu= par->data;
> 	float fac, loc[4], dir[3], *quat, mat[3][3], cent[3];
>                    ^^^^^^
> ........
>
> since where_on_path(ob, ctime1, vec, dir)
>
> writes to vec[3] :)
>
> Ole
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
>
------------------------------------------------------------------------ 
--
Ton Roosendaal  Blender Foundation ton at blender.org  
http://www.blender.org



More information about the Bf-committers mailing list