[Bf-blender-cvs] [bcfe38a] master: Fix T44964: Bisect tool /w nonuniform scale

Campbell Barton noreply at git.blender.org
Mon Jun 8 14:31:11 CEST 2015


Commit: bcfe38aa037e2fcf1c41a3a85895c1482e21e0aa
Author: Campbell Barton
Date:   Mon Jun 8 22:29:52 2015 +1000
Branches: master
https://developer.blender.org/rBbcfe38aa037e2fcf1c41a3a85895c1482e21e0aa

Fix T44964: Bisect tool /w nonuniform scale

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

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

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

diff --git a/source/blender/editors/mesh/editmesh_bisect.c b/source/blender/editors/mesh/editmesh_bisect.c
index 6a54f19..b9cbc80 100644
--- a/source/blender/editors/mesh/editmesh_bisect.c
+++ b/source/blender/editors/mesh/editmesh_bisect.c
@@ -264,7 +264,7 @@ static int mesh_bisect_exec(bContext *C, wmOperator *op)
 
 	invert_m4_m4(imat, obedit->obmat);
 	mul_m4_v3(imat, plane_co);
-	mul_mat3_m4_v3(imat, plane_no);
+	mul_transposed_mat3_m4_v3(obedit->obmat, plane_no);
 
 	EDBM_op_init(em, &bmop, op,
 	             "bisect_plane geom=%hvef plane_co=%v plane_no=%v dist=%f clear_inner=%b clear_outer=%b",




More information about the Bf-blender-cvs mailing list