Removed temp variables & the "forced" animation in DrawFinalPass
This commit is contained in:
@@ -51,18 +51,10 @@ void RenderSystem::fillModels(std::list<std::shared_ptr<RenderJob>>& jobs)
|
||||
model = ResourceManager::Load<::Model, true>(resource);
|
||||
} catch (const Resource::StillLoadingException&) {
|
||||
//continue;
|
||||
#ifdef USING_ASSIMP_AS_IMPORTER
|
||||
model = ResourceManager::Load<::Model>("Models/WidgetPlaneZ.obj"); // 360NoScope StillLoading mesh
|
||||
#else
|
||||
model = ResourceManager::Load<::Model>("Models/WidgetPlaneZ.mesh");
|
||||
#endif
|
||||
model = ResourceManager::Load<::Model>("Models/Core/Error.mesh");
|
||||
} catch (const std::exception&) {
|
||||
try {
|
||||
#ifdef USING_ASSIMP_AS_IMPORTER
|
||||
model = ResourceManager::Load<::Model>("Models/WidgetPlaneZ.obj"); // 360NoScope Error mesh
|
||||
#else
|
||||
model = ResourceManager::Load<::Model>("Models/WidgetPlaneZ.mesh");
|
||||
#endif
|
||||
model = ResourceManager::Load<::Model>("Models/Core/Error.mesh");
|
||||
} catch (const std::exception&) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user