Revision: 38060
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38060
Author:   dan_w
Date:     2011-07-03 12:30:54 +0000 (Sun, 03 Jul 2011)
Log Message:
-----------
fixed bug where intersecting vertex was inserted in the wrong location

Modified Paths:
--------------
    
branches/soc-2011-avocado/blender/source/blender/bmesh/operators/primitiveops.c

Modified: 
branches/soc-2011-avocado/blender/source/blender/bmesh/operators/primitiveops.c
===================================================================
--- 
branches/soc-2011-avocado/blender/source/blender/bmesh/operators/primitiveops.c 
    2011-07-03 11:56:24 UTC (rev 38059)
+++ 
branches/soc-2011-avocado/blender/source/blender/bmesh/operators/primitiveops.c 
    2011-07-03 12:30:54 UTC (rev 38060)
@@ -756,7 +756,7 @@
                                                        
if(isect_line_line_strict_v3(i_vec0, i_vec1, i_vec2, i_vec3, i_vec_intersect, 
&intersect_lambda))
                                                        {
                                                                // there is an 
intersection hence we must add an extra vertex and 2 edges rather than just one 
edge
-                                                               bm_intersect = 
BM_Make_Vert(bm, vec, NULL);
+                                                               bm_intersect = 
BM_Make_Vert(bm, i_vec_intersect, NULL);
 
                                                                // create edge
                                                                
BM_Make_Edge(bm, bm_intersect, bm_previous, NULL, 0);

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

Reply via email to