io.cpp

changeset 22
335e430a6b4f
parent 19
6c5977e43e73
child 23
69a91c1ff583
equal deleted inserted replaced
21:9aebaaafa5da 22:335e430a6b4f
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();

mercurial