[Bf-blender-cvs] [796437247f8] blender2.8: Manipulator: fix cage2d cancel not resetting

Campbell Barton noreply at git.blender.org
Fri Aug 4 12:35:09 CEST 2017


Commit: 796437247f87852026b9632f520bdcf071340b86
Author: Campbell Barton
Date:   Fri Aug 4 20:33:26 2017 +1000
Branches: blender2.8
https://developer.blender.org/rB796437247f87852026b9632f520bdcf071340b86

Manipulator: fix cage2d cancel not resetting

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

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 f8d195ef155..ee8d0e85dfd 100644
--- a/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c
+++ b/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c
@@ -644,6 +644,8 @@ static void manipulator_rect_transform_exit(bContext *C, wmManipulator *mpr, con
 			WM_manipulator_target_property_value_set_array(C, mpr, mpr_prop, orig_scale);
 		}
 	}
+
+	copy_m4_m4(mpr->matrix_offset, data->orig_matrix_offset);
 }




More information about the Bf-blender-cvs mailing list