Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2009-04-06 19:07:01 +0400
committerTon Roosendaal <ton@blender.org>2009-04-06 19:07:01 +0400
commit6e91947cda7252e2799e8b73b851f4cf0f0339ed (patch)
treee064deecacf77f7f838b1b545dde2db42173cc2f /source
parent51f6d6cbda947c30bdd457f78e742410186e470c (diff)
2.5
Bugfix. File window uses new layout pointer, but doesnt set it to zero here, giving memory issues on 2.5 file reading.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenloader/intern/readfile.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index b0b3e9daf2b..63401ce32e3 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -4162,9 +4162,7 @@ static void lib_link_screen(FileData *fd, Main *main)
sfile->files= NULL;
sfile->params= NULL;
sfile->op= NULL;
- /* sfile->returnfunc= NULL;
- sfile->menup= NULL;
- sfile->pupmenu= NULL; */ /* XXX removed */
+ sfile->layout= NULL;
}
else if(sl->spacetype==SPACE_IMASEL) {
SpaceImaSel *simasel= (SpaceImaSel *)sl;