Revision: 20005
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20005
Author:   ton
Date:     2009-04-30 13:33:07 +0200 (Thu, 30 Apr 2009)

Log Message:
-----------
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.

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/blenloader/intern/readfile.c

Modified: 
branches/blender2.5/blender/source/blender/blenloader/intern/readfile.c
===================================================================
--- branches/blender2.5/blender/source/blender/blenloader/intern/readfile.c     
2009-04-30 10:41:39 UTC (rev 20004)
+++ branches/blender2.5/blender/source/blender/blenloader/intern/readfile.c     
2009-04-30 11:33:07 UTC (rev 20005)
@@ -3862,6 +3862,8 @@
 
        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;
 


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to