History

cleanup, don't compress rcc file to fix corruption

SamGondelman committed 8 years ago

Commit 4bef0331 parent 3f762c715 files · +86 −91Browse files

Showing the changes to interface/src/Application.cpp (1 of 15 files). Show all

Unified · Split

interface/src/Application.cpp+0−15
@@ -1998,20 +1998,6 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 1997 unmodified lines
19981998 connect(_window, SIGNAL(windowMinimizedChanged(bool)), this, SLOT(windowMinimizedChanged(bool)));
19991999 qCDebug(interfaceapp, "Startup time: %4.2f seconds.", (double)startupTimer.elapsed() / 1000.0);
20002000
2001− {
2002− PROFILE_RANGE(render, "Process Default Skybox");
2003− auto textureCache = DependencyManager::get<TextureCache>();
2004−
2005− QFileSelector fileSelector;
2006− fileSelector.setExtraSelectors(FileUtils::getFileSelectors());
2007− auto skyboxUrl = fileSelector.select(PathUtils::resourcesPath() + "images/Default-Sky-9-cubemap.ktx");
2008−
2009− _defaultSkyboxTexture = gpu::Texture::unserialize(skyboxUrl.toStdString());
2010− _defaultSkyboxAmbientTexture = _defaultSkyboxTexture;
2011−
2012− _defaultSkybox->setCubemap(_defaultSkyboxTexture);
2013− }
2014−
20152001 EntityTreeRenderer::setEntitiesShouldFadeFunction([this]() {
20162002 SharedNodePointer entityServerNode = DependencyManager::get<NodeList>()->soloNodeOfType(NodeType::EntityServer);
20172003 return entityServerNode && !isPhysicsEnabled();
@@ -2461,7 +2447,6 @@ void Application::initializeGL() { · 443 unmodified lines
24612447 DeadlockWatchdogThread::withPause([&] {
24622448 // Set up the render engine
24632449 render::CullFunctor cullFunctor = LODManager::shouldRender;
2464− static const QString RENDER_FORWARD = "HIFI_RENDER_FORWARD";
24652450 _renderEngine->addJob<UpdateSceneTask>("UpdateScene");
24662451 #ifndef Q_OS_ANDROID
24672452 _renderEngine->addJob<SecondaryCameraRenderTask>("SecondaryCameraJob", cullFunctor, !DISABLE_DEFERRED);