     }
 }
 
+
 void ImportTundraScene(const String&in fileName)
 {
     fileSystem.CreateDir(sceneResourcePath + "Materials");
     fileSystem.CreateDir(sceneResourcePath + "Models");
     fileSystem.CreateDir(sceneResourcePath + "Textures");
-    
+
     XMLFile source;
     source.Load(File(fileName, FILE_READ));
     String filePath = GetPath(fileName);
 
     XMLElement sceneElem = source.root;
     XMLElement entityElem = sceneElem.GetChild("entity");
-    
+
     Array<String> convertedMaterials;
     Array<String> convertedMeshes;
+    Array<ParentAssignment> parentAssignments;
 
     // Clear old scene, then create a zone and a directional light first
     CreateScene();

    {
        String nodeName;
        String meshName;
        Vector3 meshPos;
        Vector3 meshRot;
        Vector3 meshScale(1, 1, 1);

                pos.z = -pos.z; // Convert to lefthanded
                rot = GetVector3FromStrings(coords, 3);
                scale = GetVector3FromStrings(coords, 6);
                parentName = GetComponentAttribute(compElem, "Parent entity ref");
            }
            
            compElem = compElem.GetNext("component");
