io.cpp

changeset 19
6c5977e43e73
parent 17
5606eebd0b90
child 22
335e430a6b4f
--- a/io.cpp	Sat Mar 16 13:08:24 2013 +0200
+++ b/io.cpp	Sat Mar 16 14:21:31 2013 +0200
@@ -2,7 +2,6 @@
 
 #include "common.h"
 #include "io.h"
-#include "ldtypes.h"
 #include "misc.h"
 #include "gui.h"
 #include "bbox.h"
@@ -73,6 +72,10 @@
 		}
 	}
 	
+	// Serialize all of the objects
+	for (ulong i = 0; i < load->objects.size(); ++i)
+		load->objects[i].serialize ();
+	
 	g_LoadedFiles.push_back (load);
 	g_CurrentFile = g_LoadedFiles[g_LoadedFiles.size() - 1];
 	

mercurial