From: Sven G. <sgo...@ja...> - 2002-04-24 23:37:17
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 22 April 2002 09:48, Pepijn Van Eeckhoudt wrote: > I found a small bug in my tesselator patch :) Before adding a > callbackentry, SetCurrentCallbackObject wasn't called. Because of this > findCallbackNode could sometimes not find the matching callbacknode (in > the case where a callback had already been defined for a given > tesselator). A new callbacknode was then added to the callback list. > When the callback was actually used, the FindCallbackEntry method would > find the first node in the list, being the old callback node. > What I've done is duplicated some of the callback methods so there is a > version that takes the current callback object into account, and one > that ignores it. That way the tesselators work fine now and the nurbs > and quadrics stuff remains unchanged. > Eventually, I guess the nurbs and quadrics methods should call > SetCurrentCallbackObject too, which removes the necessity of the > duplicated code. If I want to implement this should this also be put in > the manual part or can C2J be modified to handle this? > > Pepijn Van Eeckhoudt cool .. i do put it in CVS, thanxs i have added your _AddCallbackNodeForCbObj to glu-manualCodedImplJNI14.c also thanxs for the bugfix if the types/enums within glu-manualCodedImplJNI14.c i will recheck NIO stuff, then i do checkin .. later, sven - -- health & wealth mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440 ; fax : +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8x0GSHdOA30NoFAARAiF+AKCR5Xa6/SNDmutfrGAxb8wEVbPk2wCfULLk P0nmi1ET9t9npuxvSlj2X4w= =p5RG -----END PGP SIGNATURE----- |