Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-08-04 13:33:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-08-04 13:33:26 +0300
commit796437247f87852026b9632f520bdcf071340b86 (patch)
treebbf1b6eeef9e49e978175b500bf4dec5b91b5845 /source/blender/editors/manipulator_library
parenta65a64cbcaa539dde3e3c66c388cb6f226ef8af0 (diff)
Manipulator: fix cage2d cancel not resetting
Diffstat (limited to 'source/blender/editors/manipulator_library')
-rw-r--r--source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c2
1 files changed, 2 insertions, 0 deletions
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);
}