Revision: 17138
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17138
Author: theeth
Date: 2008-10-21 03:11:18 +0200 (Tue, 21 Oct 2008)
Log Message:
-----------
[#17873] "switch direction" for bones can cause infinite loop
Stop the infinite loop, but it could be loosing parent relations that it kept
before. Aligorith needs to review.
Modified Paths:
--------------
trunk/blender/source/blender/src/editarmature.c
Modified: trunk/blender/source/blender/src/editarmature.c
===================================================================
--- trunk/blender/source/blender/src/editarmature.c 2008-10-21 00:54:01 UTC
(rev 17137)
+++ trunk/blender/source/blender/src/editarmature.c 2008-10-21 01:11:18 UTC
(rev 17138)
@@ -3297,6 +3297,9 @@
else
ebo->flag &= ~BONE_CONNECTED;
+ child->parent = NULL;
+ child->flag &= ~BONE_CONNECTED;
+
/* FIXME: other things that need fixing?
* i.e. roll?
*/
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs