Disabled check on enabled physics when deciding is fade is adequate

This commit is contained in:
Olivier Prat 2017-06-19 18:19:54 +02:00
parent 2e3ffe7721
commit b6b1875dd3

View file

@ -1503,7 +1503,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
EntityItem::setEntitiesShouldFadeFunction([this]() {
SharedNodePointer entityServerNode = DependencyManager::get<NodeList>()->soloNodeOfType(NodeType::EntityServer);
return entityServerNode && !isPhysicsEnabled();
return entityServerNode; /*&& !isPhysicsEnabled()*/ // Why shouldn't we fade when physics is enabled??;
});
QFileInfo inf = QFileInfo(PathUtils::resourcesPath() + "sounds/snap.wav");