[Bf-blender-cvs] [110d6832a88] blender2.8: Fix typo in 2d-cage manipulator

Campbell Barton noreply at git.blender.org
Tue Aug 1 13:16:56 CEST 2017


Commit: 110d6832a88a3ebca0b0d4c3d996e545c2f5e1f1
Author: Campbell Barton
Date:   Tue Aug 1 21:22:17 2017 +1000
Branches: blender2.8
https://developer.blender.org/rB110d6832a88a3ebca0b0d4c3d996e545c2f5e1f1

Fix typo in 2d-cage manipulator

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

M	source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c

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

diff --git a/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c b/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c
index 75af5227510..c3e42c74488 100644
--- a/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c
+++ b/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c
@@ -293,7 +293,7 @@ static int manipulator_rect_transform_test_select(
 	}
 	else {
 		point_local[0] /= scale[0];
-		point_local[1] /= scale[0];
+		point_local[1] /= scale[1];
 	}
 
 	if (dims[0] > dims[1]) {




More information about the Bf-blender-cvs mailing list