diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-05-29 04:20:41 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-05-29 04:20:41 +0400 |
commit | 02e719079f1abf625c4e270c43b8ccb0071f1ca4 (patch) | |
tree | 457d07f876af80d1c734714fa411090e54968fb8 /source/blender | |
parent | ce334b1cd9a23a7b89d6926618526f0e6e80b437 (diff) |
2.5: fix crash loading saved file with render result, image user
scene wasn't set to NULL on load. Still doesn't seem entirely safe
but prevents crash here.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 9c5735a3020..f8657125014 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -4655,6 +4655,7 @@ static void direct_link_screen(FileData *fd, bScreen *sc) direct_link_gpencil(fd, sima->gpd); if(sima->cumap) direct_link_curvemapping(fd, sima->cumap); + sima->iuser.scene= NULL; sima->iuser.ok= 1; } else if(sl->spacetype==SPACE_NODE) { |