Blender Git Loki
Git Commits -> Revision 8c22d31
Revision 8c22d31 by Campbell Barton (master) June 17, 2017, 00:02 (GMT) |
Manipulator: remove type specific 'new' functions Instead use generic 'WM_manipulator_new', adding a new 'setup' callback (like wmManipulatorGroup.setup) used to initialize type vars. This moves conventions closer to wmOperator and simplifies exposing to Python. |
Commit Details:
Full Hash: 8c22d31dccd47102d618dce605c6d5f490575b91
Parent Commit: 71b70b2
Lines Changed: +262, -170
16 Modified Paths:
/source/blender/editors/include/ED_manipulator_library.h (+11, -15) (Diff)
/source/blender/editors/manipulator_library/arrow2d_manipulator.c (+13, -11) (Diff)
/source/blender/editors/manipulator_library/arrow3d_manipulator.c (+19, -17) (Diff)
/source/blender/editors/manipulator_library/cage2d_manipulator.c (+38, -28) (Diff)
/source/blender/editors/manipulator_library/dial3d_manipulator.c (+24, -15) (Diff)
/source/blender/editors/manipulator_library/grab3d_manipulator.c (+22, -13) (Diff)
/source/blender/editors/manipulator_library/primitive3d_manipulator.c (+23, -13) (Diff)
/source/blender/editors/mesh/editmesh_bisect.c (+11, -3) (Diff)
/source/blender/editors/mesh/editmesh_extrude.c (+14, -5) (Diff)
/source/blender/editors/space_node/node_manipulators.c (+6, -4) (Diff)
/source/blender/editors/space_view3d/view3d_manipulators.c (+16, -10) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+44, -22) (Diff)
/source/blender/editors/transform/transform_manipulator2d.c (+4, -2) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator.c (+12, -12) (Diff)
/source/blender/windowmanager/manipulators/wm_manipulator_fn.h (+2, -0) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_types.h (+3, -0) (Diff)
/source/blender/editors/manipulator_library/arrow2d_manipulator.c (+13, -11) (Diff)
/source/blender/editors/manipulator_library/arrow3d_manipulator.c (+19, -17) (Diff)
/source/blender/editors/manipulator_library/cage2d_manipulator.c (+38, -28) (Diff)
/source/blender/editors/manipulator_library/dial3d_manipulator.c (+24, -15) (Diff)
/source/blender/editors/manipulator_library/grab3d_manipulator.c (+22, -13) (Diff)
/source/blender/editors/manipulator_library/primitive3d_manipulator.c (+23, -13) (Diff)
/source/blender/editors/mesh/editmesh_bisect.c (+11, -3) (Diff)
/source/blender/editors/mesh/editmesh_extrude.c (+14, -5) (Diff)
/source/blender/editors/space_node/node_manipulators.c (+6, -4) (Diff)
/source/blender/editors/space_view3d/view3d_manipulators.c (+16, -10) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+44, -22) (Diff)
/source/blender/editors/transform/transform_manipulator2d.c (+4, -2) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator.c (+12, -12) (Diff)
/source/blender/windowmanager/manipulators/wm_manipulator_fn.h (+2, -0) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_types.h (+3, -0) (Diff)