UnitRaptor is now displayed while models are being loaded in.

This commit is contained in:
antc13
2016-01-24 17:04:12 +01:00
parent aa20b48188
commit aa115befa9
+1 -1
View File
@@ -59,7 +59,7 @@ void RenderSystem::fillModels(std::list<std::shared_ptr<RenderJob>>& jobs)
model = ResourceManager::Load<::Model, true>(resource); model = ResourceManager::Load<::Model, true>(resource);
} catch (const Resource::StillLoadingException&) { } catch (const Resource::StillLoadingException&) {
//continue; //continue;
model = ResourceManager::Load<::Model>("Models/Core/Error.mesh"); model = ResourceManager::Load<::Model>("Models/Core/UnitRaptor.mesh");
} catch (const std::exception&) { } catch (const std::exception&) {
try { try {
model = ResourceManager::Load<::Model>("Models/Core/Error.mesh"); model = ResourceManager::Load<::Model>("Models/Core/Error.mesh");