[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [61040] trunk/blender/source/blender/ blenloader/intern/readfile.c: Fix #37270: Blender crashes in several situations

Sergey Sharybin sergey.vfx at gmail.com
Fri Nov 1 05:24:29 CET 2013


Revision: 61040
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=61040
Author:   nazgul
Date:     2013-11-01 04:24:29 +0000 (Fri, 01 Nov 2013)
Log Message:
-----------
Fix #37270: Blender crashes in several situations

Issue was caused by cloth modifier used for particle
system dynamic have an invalid error field pointer.
Seems at some point cloth failed to apply and set an
error,

This commit only fixes crash with existing file,
will look further into why exactly such situation
happened,

Modified Paths:
--------------
    trunk/blender/source/blender/blenloader/intern/readfile.c

Modified: trunk/blender/source/blender/blenloader/intern/readfile.c
===================================================================
--- trunk/blender/source/blender/blenloader/intern/readfile.c	2013-11-01 04:06:01 UTC (rev 61039)
+++ trunk/blender/source/blender/blenloader/intern/readfile.c	2013-11-01 04:24:29 UTC (rev 61040)
@@ -3815,6 +3815,7 @@
 				psys->clmd->point_cache = psys->pointcache;
 				psys->clmd->ptcaches.first = psys->clmd->ptcaches.last= NULL;
 				psys->clmd->coll_parms->group = newlibadr(fd, id->lib, psys->clmd->coll_parms->group);
+				psys->clmd->modifier.error = NULL;
 			}
 		}
 		else {




More information about the Bf-blender-cvs mailing list