Thanks Dave, I've put this in the Patch Tracker on sourceforge so we
don't forget about it.
Reed
Dave Elcock wrote:
> Sorry. As I suspected, my patch didn't compile. Here's the fix. And
> I've tested it on an old build I had lying around. It works a treat.
>
> RCS file: /cvsroot/lib3ds/lib3ds/lib3ds/node.c,v
> retrieving revision 1.13
> diff -u -r1.13 node.c
> --- node.c 16 Nov 2004 07:41:44 -0000 1.13
> +++ node.c 20 Jun 2006 14:04:01 -0000
> @@ -280,10 +280,12 @@
> {
> Lib3dsMatrix M;
> Lib3dsObjectData *n=&node->data.object;
> + int i;
>
> lib3ds_lin3_track_eval(&n->pos_track, n->pos, t);
> lib3ds_quat_track_eval(&n->rot_track, n->rot, t);
> - lib3ds_lin3_track_eval(&n->scl_track, n->scl, t);
> + if (!n->scl_track.keyL) for (i=2; i>=0; --i) n->scl[i]=1.0f;
> + else lib3ds_lin3_track_eval(&n->scl_track, n->scl, t);
> lib3ds_bool_track_eval(&n->hide_track, &n->hide, t);
> lib3ds_morph_track_eval(&n->morph_track, n->morph, t);
>
> Cheers,
> Dave.
>
>
> _______________________________________________
> lib3ds-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lib3ds-devel
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
lib3ds-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lib3ds-devel