Эх сурвалжийг харах

Only require CoreData when not running headless

Josh Engebretson 9 жил өмнө
parent
commit
56c41f4d6b

+ 2 - 1
Source/Atomic/Engine/Engine.cpp

@@ -265,7 +265,8 @@ bool Engine::Initialize(const VariantMap& parameters)
                 success = cache->AddResourceDir(pathName);
                 success = cache->AddResourceDir(pathName);
         }
         }
 
 
-        if (!success)
+        // ATOMIC: Only fail when coredata can't be opened and not headless
+        if (!success && !headless_)
         {
         {
             LOGERRORF("Failed to add resource path '%s', check the documentation on how to set the 'resource prefix path'",
             LOGERRORF("Failed to add resource path '%s', check the documentation on how to set the 'resource prefix path'",
                 resourcePaths[i].CString());
                 resourcePaths[i].CString());

+ 1 - 1
Submodules/uWebKit

@@ -1 +1 @@
-Subproject commit ad749c5e3b92b782ff0b280e74d0f936cce563ab
+Subproject commit cefe6d72b962e2601a1c1c95a22b31e6831634a7