Model loading broken in FlagRush

FlagRush currently does not work from CVS because the model doesn't have the new color material stuff. However maybe instead or re exporting the model (and telling everyone to do that for their models) we could do a null check for the line where it goes wrong:



JmeBinaryReader, line 1054:

m.setColorMaterial(((Integer)atts.get("color")).intValue());

If this makes the loader work with old .jme files that null-check should be added IMO (whether the files are updated or not).

agreed. Can you add it in real quick?

Commited. Lesson9 works again.