yjfcool / lib3ds

Automatically exported from code.google.com/p/lib3ds
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Assertion caused by a file that seems valid ? #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have exported a model from blender into 3ds max. The blender .3ds import
plugin manages to load the exported .3ds file with no problems, but lib3ds
seems to have problems, as it causes an assertion fail:

3dsplay: ../lib3ds_chunk.c:72: lib3ds_chunk_read_next: Assertion `c->cur ==
c->end' failed.

I'm using the current svn trunk code.

You can find an archive that contains both the .3ds and the .blend file
here:
http://arkana-fts.sourceforge.net/Archive.tar.gz
as The file is too big to be attached.

Original issue reported on code.google.com by jkypr...@gmail.com on 20 Jan 2010 at 8:59

GoogleCodeExporter commented 9 years ago
I also had similar issues. Patch attached (against rev. 104) will allow you to 
read 
some "almost-valid" files, and will also detect more error conditions. It will 
not, 
however, allow reading very corrupted files as some 3rd-party tools do.

Cheers,

Sukender

Original comment by sukend...@gmail.com on 21 Jan 2010 at 10:25

Attachments: