Ticket #292 (closed defect: fixed)
Handle model-loading failures gracefully
|Reported by:||Philip||Owned by:|
If a model fails to load (e.g. the Collada library wasn't compiled), the code currently prints an error message and returns null and then the game crashes a bit later. It should be handled better, e.g. not crashing and not rendering the unit, or (preferably) replacing the model with some kind of 'error' mesh so the problem is clearly visible.