[Bf-blender-cvs] [93b24b9] master: Knife Tool: incorrect sized vector args (harmless but misleading)

Campbell Barton noreply at git.blender.org
Mon Dec 2 23:26:27 CET 2013


Commit: 93b24b91a99c688e95d460420569010e8b93f4ba
Author: Campbell Barton
Date:   Tue Dec 3 09:10:03 2013 +1100
http://developer.blender.org/rB93b24b91a99c688e95d460420569010e8b93f4ba

Knife Tool: incorrect sized vector args (harmless but misleading)

===================================================================

M	source/blender/editors/mesh/editmesh_knife.c

===================================================================

diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c
index eb8ebef..102bad2 100644
--- a/source/blender/editors/mesh/editmesh_knife.c
+++ b/source/blender/editors/mesh/editmesh_knife.c
@@ -1076,7 +1076,7 @@ static void knifetool_draw(const bContext *C, ARegion *UNUSED(ar), void *arg)
  * In such a case we should have gotten hits on edges or verts of the face. */
 static bool knife_ray_intersect_face(KnifeTool_OpData *kcd,
                                      const float s[2],
-                                     const float v1[2], const float v2[2],
+                                     const float v1[3], const float v2[3],
                                      BMFace *f,
                                      const float face_tol,
                                      float intersectp[3])




More information about the Bf-blender-cvs mailing list