diff options
author | Ton Roosendaal <ton@blender.org> | 2009-04-30 15:33:07 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-04-30 15:33:07 +0400 |
commit | a29551751c7c26971e7bade44af954d484b509c1 (patch) | |
tree | 2f782d0a7e0212a441cb0db095871348c64d1aef | |
parent | 4ff585569ce4d5e2c2feeba7d7c57ae5ea38c275 (diff) |
2.5
Bugfix, thanks to report from M Fox: Saving file in editmode
could crash on load, because editobject pointer in scene was
not cleared on file reading.
-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 d48d96ef977..40a03bfdbbe 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -3862,6 +3862,8 @@ static void direct_link_scene(FileData *fd, Scene *sce) sce->theDag = NULL; sce->dagisvalid = 0; + sce->obedit= NULL; + /* set users to one by default, not in lib-link, this will increase it for compo nodes */ sce->id.us= 1; |