[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32081] trunk/blender/source/blender/ editors/armature/editarmature.c: Fix part of #22853: armature editmode crash with undo.

Brecht Van Lommel brechtvanlommel at pandora.be
Thu Sep 23 20:54:07 CEST 2010


Revision: 32081
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32081
Author:   blendix
Date:     2010-09-23 20:54:06 +0200 (Thu, 23 Sep 2010)

Log Message:
-----------
Fix part of #22853: armature editmode crash with undo.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/armature/editarmature.c

Modified: trunk/blender/source/blender/editors/armature/editarmature.c
===================================================================
--- trunk/blender/source/blender/editors/armature/editarmature.c	2010-09-23 18:45:56 UTC (rev 32080)
+++ trunk/blender/source/blender/editors/armature/editarmature.c	2010-09-23 18:54:06 UTC (rev 32081)
@@ -2245,6 +2245,8 @@
 		ebo= uarm->act_edbone;
 		arm->act_edbone= ebo->temp;
 	}
+	else
+		arm->act_edbone= NULL;
 
 	/* set pointers */
 	for(newebo= arm->edbo->first; newebo; newebo= newebo->next) {





More information about the Bf-blender-cvs mailing list