Merging r38220 through r38236 from trunk into soc-2011-tomato
[blender.git] / source / blender / blenloader / intern / writefile.c
index d004cbb4647ba5e44a1542099f57a70b711c941a..6ce84e93f49c92ed32876965fc29cf6fbb130e31 100644 (file)
@@ -2104,7 +2104,11 @@ static void write_screens(WriteData *wd, ListBase *scrbase)
                                        writestruct(wd, DATA, "SpaceButs", 1, sl);
                                }
                                else if(sl->spacetype==SPACE_FILE) {
+                                       SpaceFile *sfile= (SpaceFile *)sl;
+
                                        writestruct(wd, DATA, "SpaceFile", 1, sl);
+                                       if(sfile->params)
+                                               writestruct(wd, DATA, "FileSelectParams", 1, sfile->params);
                                }
                                else if(sl->spacetype==SPACE_SEQ) {
                                        writestruct(wd, DATA, "SpaceSeq", 1, sl);