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.
This commit is contained in:
2017-08-29 19:15:36 +10:00
parent 83ea224a7f
commit 369cd8521b
4 changed files with 627 additions and 0 deletions

View File

@@ -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();