Revision: 60977
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60977
Author:   campbellbarton
Date:     2013-10-28 23:45:36 +0000 (Mon, 28 Oct 2013)
Log Message:
-----------
patch [#37231] Bone fill sets bone to connected, even if neither of its points 
is at the tail point of points it's connecting.
from Henrik Aarnio (hjaarnio)

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

Modified: trunk/blender/source/blender/editors/armature/armature_edit.c
===================================================================
--- trunk/blender/source/blender/editors/armature/armature_edit.c       
2013-10-28 23:35:25 UTC (rev 60976)
+++ trunk/blender/source/blender/editors/armature/armature_edit.c       
2013-10-28 23:45:36 UTC (rev 60977)
@@ -583,8 +583,11 @@
                                else
                                        newbone->parent = ebp2->head_owner;
                        }
-                       
-                       newbone->flag |= BONE_CONNECTED;
+
+                       /* don't set for bone connecting two head points of 
bones */
+                       if (ebp->tail_owner || ebp2->tail_owner) {
+                               newbone->flag |= BONE_CONNECTED;
+                       }
                }
        }
        else {

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

Reply via email to