Blender Git Loki
Git Commits -> Revision 7f48035
Revision 7f48035 by Campbell Barton (master) June 7, 2017, 21:42 (GMT) |
WM: move manipulator library into editors As with operators, the window-manager has the API for defining, the editor can implement and register its own manipulators. This exposes wmManipulator, keeping it opaque isn't practical if editors and Python are to implement their own. |
Commit Details:
Full Hash: 7f480352caaa14a20c0438ae0ed1c2607b6c2c00
Parent Commit: bfa5efe
Lines Changed: +3849, -3810
14 Added Paths:
/source/blender/editors/include/ED_manipulator_library.h (+139, -0) (View)
/source/blender/editors/manipulator_library/arrow2d_manipulator.c (+233, -0) (View)
/source/blender/editors/manipulator_library/arrow3d_manipulator.c (+550, -0) (View)
/source/blender/editors/manipulator_library/cage2d_manipulator.c (+598, -0) (View)
/source/blender/editors/manipulator_library/CMakeLists.txt (+56, -0) (View)
/source/blender/editors/manipulator_library/dial3d_manipulator.c (+376, -0) (View)
/source/blender/editors/manipulator_library/geom_arrow_manipulator.c (+141, -0) (View)
/source/blender/editors/manipulator_library/geom_cube_manipulator.c (+75, -0) (View)
/source/blender/editors/manipulator_library/geom_dial_manipulator.c (+813, -0) (View)
/source/blender/editors/manipulator_library/manipulator_draw_utils.c (+127, -0) (View)
/source/blender/editors/manipulator_library/manipulator_geometry.h (+51, -0) (View)
/source/blender/editors/manipulator_library/manipulator_library_intern.h (+111, -0) (View)
/source/blender/editors/manipulator_library/manipulator_library_utils.c (+169, -0) (View)
/source/blender/editors/manipulator_library/primitive3d_manipulator.c (+252, -0) (View)
/source/blender/editors/manipulator_library/arrow2d_manipulator.c (+233, -0) (View)
/source/blender/editors/manipulator_library/arrow3d_manipulator.c (+550, -0) (View)
/source/blender/editors/manipulator_library/cage2d_manipulator.c (+598, -0) (View)
/source/blender/editors/manipulator_library/CMakeLists.txt (+56, -0) (View)
/source/blender/editors/manipulator_library/dial3d_manipulator.c (+376, -0) (View)
/source/blender/editors/manipulator_library/geom_arrow_manipulator.c (+141, -0) (View)
/source/blender/editors/manipulator_library/geom_cube_manipulator.c (+75, -0) (View)
/source/blender/editors/manipulator_library/geom_dial_manipulator.c (+813, -0) (View)
/source/blender/editors/manipulator_library/manipulator_draw_utils.c (+127, -0) (View)
/source/blender/editors/manipulator_library/manipulator_geometry.h (+51, -0) (View)
/source/blender/editors/manipulator_library/manipulator_library_intern.h (+111, -0) (View)
/source/blender/editors/manipulator_library/manipulator_library_utils.c (+169, -0) (View)
/source/blender/editors/manipulator_library/primitive3d_manipulator.c (+252, -0) (View)
12 Deleted Paths:
/source/blender/windowmanager/manipulators/intern/manipulator_library/arrow2d_manipulator.c (+0, -243)
/source/blender/windowmanager/manipulators/intern/manipulator_library/arrow_manipulator.c (+0, -559)
/source/blender/windowmanager/manipulators/intern/manipulator_library/cage_manipulator.c (+0, -605)
/source/blender/windowmanager/manipulators/intern/manipulator_library/dial_manipulator.c (+0, -386)
/source/blender/windowmanager/manipulators/intern/manipulator_library/geom_arrow_manipulator.c (+0, -141)
/source/blender/windowmanager/manipulators/intern/manipulator_library/geom_cube_manipulator.c (+0, -75)
/source/blender/windowmanager/manipulators/intern/manipulator_library/geom_dial_manipulator.c (+0, -813)
/source/blender/windowmanager/manipulators/intern/manipulator_library/manipulator_geometry.h (+0, -51)
/source/blender/windowmanager/manipulators/intern/manipulator_library/manipulator_library_intern.h (+0, -100)
/source/blender/windowmanager/manipulators/intern/manipulator_library/manipulator_library_utils.c (+0, -171)
/source/blender/windowmanager/manipulators/intern/manipulator_library/primitive_manipulator.c (+0, -262)
/source/blender/windowmanager/manipulators/WM_manipulator_library.h (+0, -135)
/source/blender/windowmanager/manipulators/intern/manipulator_library/arrow_manipulator.c (+0, -559)
/source/blender/windowmanager/manipulators/intern/manipulator_library/cage_manipulator.c (+0, -605)
/source/blender/windowmanager/manipulators/intern/manipulator_library/dial_manipulator.c (+0, -386)
/source/blender/windowmanager/manipulators/intern/manipulator_library/geom_arrow_manipulator.c (+0, -141)
/source/blender/windowmanager/manipulators/intern/manipulator_library/geom_cube_manipulator.c (+0, -75)
/source/blender/windowmanager/manipulators/intern/manipulator_library/geom_dial_manipulator.c (+0, -813)
/source/blender/windowmanager/manipulators/intern/manipulator_library/manipulator_geometry.h (+0, -51)
/source/blender/windowmanager/manipulators/intern/manipulator_library/manipulator_library_intern.h (+0, -100)
/source/blender/windowmanager/manipulators/intern/manipulator_library/manipulator_library_utils.c (+0, -171)
/source/blender/windowmanager/manipulators/intern/manipulator_library/primitive_manipulator.c (+0, -262)
/source/blender/windowmanager/manipulators/WM_manipulator_library.h (+0, -135)
14 Modified Paths:
/build_files/cmake/macros.cmake (+1, -0) (Diff)
/source/blender/editors/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_api/spacetypes.c (+4, -12) (Diff)
/source/blender/editors/space_node/node_widgets.c (+6, -5) (Diff)
/source/blender/editors/space_view3d/view3d_manipulators.c (+24, -23) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+28, -27) (Diff)
/source/blender/editors/util/CMakeLists.txt (+1, -0) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+1, -11) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator.c (+10, -91) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c (+1, -1) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulatormap.c (+13, -13) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h (+1, -85) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_types.h (+67, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+0, -1) (Diff)
/source/blender/editors/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_api/spacetypes.c (+4, -12) (Diff)
/source/blender/editors/space_node/node_widgets.c (+6, -5) (Diff)
/source/blender/editors/space_view3d/view3d_manipulators.c (+24, -23) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+28, -27) (Diff)
/source/blender/editors/util/CMakeLists.txt (+1, -0) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+1, -11) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator.c (+10, -91) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c (+1, -1) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulatormap.c (+13, -13) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h (+1, -85) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_types.h (+67, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+0, -1) (Diff)