[Bf-blender-cvs] [8ee2b01] master: Fix T43740: 'Back to Previous' failed on reload

Campbell Barton noreply at git.blender.org
Mon Feb 23 11:36:30 CET 2015


Commit: 8ee2b01b04923472d5124c185b8810f8b01be0e1
Author: Campbell Barton
Date:   Mon Feb 23 21:33:14 2015 +1100
Branches: master
https://developer.blender.org/rB8ee2b01b04923472d5124c185b8810f8b01be0e1

Fix T43740: 'Back to Previous' failed on reload

Would restore with the file-selector where the 'info' header should be.

===================================================================

M	source/blender/blenloader/intern/writefile.c

===================================================================

diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index 308ab44..1156d3f 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -2774,6 +2774,9 @@ static void write_screens(WriteData *wd, ListBase *scrbase)
 				else if (sl->spacetype==SPACE_CLIP) {
 					writestruct(wd, DATA, "SpaceClip", 1, sl);
 				}
+				else if (sl->spacetype == SPACE_INFO) {
+					writestruct(wd, DATA, "SpaceInfo", 1, sl);
+				}
 
 				sl= sl->next;
 			}




More information about the Bf-blender-cvs mailing list