Revision: 50193
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50193
Author:   campbellbarton
Date:     2012-08-24 16:55:25 +0000 (Fri, 24 Aug 2012)
Log Message:
-----------
fix for merged bridge crashing on closed loops (own bug in recent commit) 

Modified Paths:
--------------
    trunk/blender/source/blender/bmesh/operators/bmo_connect.c

Modified: trunk/blender/source/blender/bmesh/operators/bmo_connect.c
===================================================================
--- trunk/blender/source/blender/bmesh/operators/bmo_connect.c  2012-08-24 
16:11:12 UTC (rev 50192)
+++ trunk/blender/source/blender/bmesh/operators/bmo_connect.c  2012-08-24 
16:55:25 UTC (rev 50193)
@@ -429,8 +429,7 @@
                
                /* merge loops of bridge faces */
                if (use_merge) {
-                       /* at the moment these will be the same */
-                       const int vert_len = mini(BLI_array_count(vv1), 
BLI_array_count(vv2));
+                       const int vert_len = mini(BLI_array_count(vv1), 
BLI_array_count(vv2)) - ((cl1 || cl2) ? 1 : 0);
                        const int edge_len = mini(BLI_array_count(ee1), 
BLI_array_count(ee2));
 
                        if (merge_factor <= 0.0f) {

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

Reply via email to