LGhassen / cosmographia

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

Bad material index in model causes crash #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Load the Messenger catalog file
2. Go to Messenger
3. Enable shadows

The program will crash in MeshGeometry::renderShadow when there is an unchecked 
access to the materials array with an extremely large material index (looks 
like 2^31-1). There should be a check in renderShadow, but the bad material 
index shouldn't be there to begin with.

Original issue reported on code.google.com by clau...@gmail.com on 18 Mar 2011 at 11:22

GoogleCodeExporter commented 8 years ago
Fixed with update to MeshGeometry::renderShadow

Original comment by clau...@gmail.com on 2 May 2011 at 7:08