diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-09-07 10:20:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-09-07 10:20:09 +0300 |
commit | e106a212e8a38588f196fed825ff167515960b5e (patch) | |
tree | e2e72e1e475a8debd8001e948ec708ad47914996 | |
parent | 1c5b15eab3d6673ea0e5c1dea6d5d016880e64f6 (diff) |
Fix T46032: Crash w/ file-browser preview
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index e71cf0a214b..6625c9159f7 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -6523,6 +6523,7 @@ void blo_lib_link_screen_restore(Main *newmain, bScreen *curscreen, Scene *cursc else if (sl->spacetype == SPACE_FILE) { SpaceFile *sfile = (SpaceFile *)sl; sfile->op = NULL; + sfile->previews_timer = NULL; } else if (sl->spacetype == SPACE_ACTION) { SpaceAction *saction = (SpaceAction *)sl; @@ -7052,6 +7053,7 @@ static bool direct_link_screen(FileData *fd, bScreen *sc) sfile->files = NULL; sfile->layout = NULL; sfile->op = NULL; + sfile->previews_timer = NULL; sfile->params = newdataadr(fd, sfile->params); } else if (sl->spacetype == SPACE_CLIP) { |