This project is read-only.

Infrequent Program Crash


The program crashes every 15th to 25th time at line 179 in ModelViewControl.cs while the model is loading the Easter Island statue:
effect.DiffuseColor = diffuseColors[i][n++];
It's in the else block. The complete statement is:
if (selectedMesh != null && selectedMesh == mesh)
  effect.DiffuseColor = Color.Yellow.ToVector3();
  effect.DiffuseColor = diffuseColors[i][n++];


EvanGriffin wrote Aug 2, 2011 at 8:17 PM

I haven't been able to reproduce the crash, I've loaded the "kahuna" model more than 50 times and tried selecting meshes from other models and then reloading but nothing is happening for me...

ScottLaForge wrote Aug 2, 2011 at 10:15 PM

It's unfortunate. I just had it happen a couple of times. Then I saw your message and tried a few times to get it to happen and it won't. Next time it does, I will post the trace. Maybe it will help...

wrote Aug 4, 2011 at 8:04 PM

ScottLaForge wrote Aug 5, 2011 at 5:26 PM

Hasn't crashed on me since... But prior, it happened about 10 - 15 times.

wrote Feb 13, 2013 at 10:34 PM