70 logf (LOG_Warning, "- Line was: %s\n", lines[i].chars()); |
70 logf (LOG_Warning, "- Line was: %s\n", lines[i].chars()); |
71 numWarnings++; |
71 numWarnings++; |
72 } |
72 } |
73 } |
73 } |
74 |
74 |
75 // Serialize all of the objects |
|
76 for (ulong i = 0; i < load->objects.size(); ++i) |
|
77 load->objects[i].serialize (); |
|
78 |
|
79 g_LoadedFiles.push_back (load); |
75 g_LoadedFiles.push_back (load); |
80 g_CurrentFile = g_LoadedFiles[g_LoadedFiles.size() - 1]; |
76 g_CurrentFile = g_LoadedFiles[g_LoadedFiles.size() - 1]; |
81 |
77 |
82 // Recalculate the bounding box |
78 // Recalculate the bounding box |
83 g_BBox.calculate(); |
79 g_BBox.calculate(); |