Browse Source

fix PR missing e

JimMarlowe 9 years ago
parent
commit
f32ef8aeca
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Source/Atomic/Scene/Scene.cpp

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

@@ -481,7 +481,7 @@ bool Scene::LoadAsyncJSON(File* file, LoadMode mode)
 
     if (mode > LOAD_RESOURCES_ONLY)
     {
-        JSONValu& rootVal = json->GetRoot();
+        JSONValue& rootVal = json->GetRoot();
 
         // Preload resources if appropriate
         if (mode != LOAD_SCENE)
@@ -1371,6 +1371,7 @@ void Scene::PreloadResources(File* file, bool isSceneFile)
 
 void Scene::PreloadResourcesXML(const XMLElement& element)
 {
+
     // If not threaded, can not background load resources, so rather load synchronously later when needed
 #ifdef ATOMIC_THREADING
     ResourceCache* cache = GetSubsystem<ResourceCache>();