Re: [Plib-users] Bug report
Brought to you by:
sjbaker
From: Per L. <li...@ho...> - 2001-04-01 19:44:54
|
On Friday 30 March 2001 11:48, Fredrik Sandstr=F6m wrote: > Here comes a bunch of bugs that I've found when using PLib on Win9x > platform. I use a PLib version from the cvs approx. a month ago, so if > some of them already has been fixed I appologize. Hi Fredrik! Nice to see more and more swedes using plib! (I think there's at least th= ree=20 of us here now.) > * The 3ds-loader (and maybe other loaders as well?) crashes if the mode= l > file isn't found since it tries to do a fseek on an invalid file handle. I think I fixed this a while ago...looks like it should work, and a quick= =20 test shows it appears to work too. > * The 3ds-loader also have problems with large models. It can load them > ok, but when ypu try to manipulate them PLib will crash. This is becaus= e > the loader creates VtxTables with too many vertices in them. The getVer= tex > function can only handle shorts but the number of vertices variable is = an > int, making it possible to load more vertices than some of PLib's other > functions can handle. Interesting and annoying. Should we just refuse to load too large models? > * In ssgLoad3ds the current_branch is never deleted after the parsing o= f > the file is finished. I don't think it should be deleted. It's just a pointer to a node, and th= at=20 node is a part of the model that is loaded, and thus should not be delete= d.=20 But I could be missing some fine details of my own code. Feel free to com= ment=20 further if you have any examples of when current_branch causes leaks. Regards, Per --=20 / Per Liedman / li...@ho... / www.mdstud.chalmers.se/~md6pl / 031-825659 / 0705-520455 |