Esssentia / libm3

Automatically exported from code.google.com/p/libm3
0 stars 0 forks source link

ObjConv crash #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello

On my computer (windows 7), ObjConv crash, without giving message.

So I downloaded sources and Debug it.

I tried with Barracks.m3

Here is the bug :

in Model::Convert(std::string filename), when "Write geosets"
views->regions.nEntries = 1965
regions[0].ofsIndices = 2322
regions[0].nIndices = 1
regions[1].ofsIndices = 2
regions[1].nIndices = 0
regions[2].ofsIndices = 20
regions[2].nIndices = 0
regions[3].ofsIndices = 0
regions[3].nIndices = 0
regions[4].ofsIndices = 0
regions[4].nIndices = 39
regions[5].ofsIndices = 2058
regions[5].nIndices = 0
regions[6].ofsIndices = 3217758457 <== WTF ?!
regions[6].nIndices = 1075667942   <== WTF ?!

Are all numbers false? Or just the 6th?
I'll try to debug it when you answer me

thanks in advance

Richard

Original issue reported on code.google.com by richard....@gmail.com on 26 Apr 2010 at 10:46

GoogleCodeExporter commented 8 years ago
Hmmm... The Barracks.m3 file you're using, is it from a later patch? Because I 
haven't had the time to update the application since they redid the format 
slightly, meaning it could be reading some wrong offsets.

Original comment by dot.qwe...@gmail.com on 7 Jul 2010 at 9:35

GoogleCodeExporter commented 8 years ago
Ok it's certainly because of that: I test the barracks.m3 the 26 April, and 
your program has been uploaded the 13 march.

Original comment by richard....@gmail.com on 7 Jul 2010 at 5:42