From 369cd8521b8782cb009cf583c5e71f9b0da36fc8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 29 Aug 2017 19:15:36 +1000 Subject: Manipulator: new cage2d manipulator Adding alongside the existing one for now, but it should eventually replace it. Uses a matrix instead of (position + scale), written so rotation can be done more easily. Currently has a primitive handle for rotation, supports corner scaling. --- source/blender/editors/space_api/spacetypes.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/space_api/spacetypes.c') diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c index e64e9841139..c3a8333d378 100644 --- a/source/blender/editors/space_api/spacetypes.c +++ b/source/blender/editors/space_api/spacetypes.c @@ -133,6 +133,7 @@ void ED_spacetypes_init(void) ED_manipulatortypes_arrow_3d(); ED_manipulatortypes_primitive_3d(); ED_manipulatortypes_cage_2d(); + ED_manipulatortypes_cage_2d_rotate(); /* register types for operators and manipulators */ spacetypes = BKE_spacetypes_list(); -- cgit v1.2.3