[Bf-blender-cvs] [dad3de89dcf] master: Fix: remove accidental code

Germano Cavalcante noreply at git.blender.org
Tue Jul 7 16:27:32 CEST 2020


Commit: dad3de89dcfc809078a73b607033e4afba7a4cc0
Author: Germano Cavalcante
Date:   Tue Jul 7 11:27:09 2020 -0300
Branches: master
https://developer.blender.org/rBdad3de89dcfc809078a73b607033e4afba7a4cc0

Fix: remove accidental code

`v1` and `v2` are already set.

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

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 ae407b7b84b..e9223af12ff 100644
--- a/source/blender/editors/mesh/editmesh_knife.c
+++ b/source/blender/editors/mesh/editmesh_knife.c
@@ -1625,8 +1625,6 @@ static void knife_find_line_hits(KnifeTool_OpData *kcd)
   float plane[4];
   {
     float v1_v2[3], v1_v3[3];
-    copy_v3_v3(v1, kcd->prev.cage);
-    copy_v3_v3(v2, kcd->curr.cage);
     sub_v3_v3v3(v1_v2, v2, v1);
     sub_v3_v3v3(v1_v3, v3, v1);
     cross_v3_v3v3(plane, v1_v2, v1_v3);



More information about the Bf-blender-cvs mailing list