Blender Git Commit Log
Git Commits -> Revision 830df9b
Revision 830df9b by Campbell Barton (master) June 15, 2017, 10:56 (GMT) |
Updates to manipulator API While this is work-in-progress from custom-manipulators branch its stable so adding into 2.8 so we don't get too much out of sync. - ManipulatorGroupType's are moved out of the manipulator-map and are now global (like operators, panels etc) and added into spaces as needed. Without this all operators that might ever use a manipulator in the 3D view would be polling the viewport. - Add optional get/set callbacks for non-RNA properties Needed so re-usable manipulators can control values that don't correspond to a single properly or need conversion. - Fix divide by zero bug in arrow manipulator (when moving zero pixels). |
Commit Details:
Full Hash: 830df9b33d3e2afdf3bb23b469378899c34fda78
Parent Commit: 1a7099f
Lines Changed: +1119, -565
3 Added Paths:
/source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup_type.c (+185, -0) (View)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_property.c (+175, -0) (View)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_type.c (+156, -0) (View)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_property.c (+175, -0) (View)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_type.c (+156, -0) (View)
1 Deleted Path:
/source/blender/makesdna/DNA_manipulator_types.h (+0, -45)
31 Modified Paths:
/source/blender/CMakeLists.txt (+0, -1) (Diff)
/source/blender/editors/include/ED_transform.h (+4, -4) (Diff)
/source/blender/editors/manipulator_library/arrow2d_manipulator.c (+0, -1) (Diff)
/source/blender/editors/manipulator_library/arrow3d_manipulator.c (+29, -27) (Diff)
/source/blender/editors/manipulator_library/cage2d_manipulator.c (+10, -12) (Diff)
/source/blender/editors/manipulator_library/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/manipulator_library/dial3d_manipulator.c (+55, -14) (Diff)
/source/blender/editors/manipulator_library/manipulator_draw_utils.c (+0, -2) (Diff)
/source/blender/editors/manipulator_library/manipulator_library_intern.h (+2, -6) (Diff)
/source/blender/editors/manipulator_library/manipulator_library_presets.c (+0, -1) (Diff)
/source/blender/editors/manipulator_library/manipulator_library_utils.c (+14, -36) (Diff)
/source/blender/editors/manipulator_library/primitive3d_manipulator.c (+2, -3) (Diff)
/source/blender/editors/space_node/node_manipulators.c (+4, -4) (Diff)
/source/blender/editors/space_node/space_node.c (+6, -6) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+10, -13) (Diff)
/source/blender/editors/space_view3d/view3d_manipulators.c (+17, -14) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+7, -6) (Diff)
/source/blender/editors/util/ed_util.c (+7, -4) (Diff)
/source/blender/makesdna/intern/makesdna.c (+0, -2) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+3, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+3, -2) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+2, -0) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator.c (+1, -155) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c (+126, -97) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulatormap.c (+97, -44) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h (+8, -5) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_api.h (+90, -40) (Diff)
/source/blender/windowmanager/manipulators/wm_manipulator_fn.h (+30, -4) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_types.h (+60, -11) (Diff)
/source/blender/windowmanager/manipulators/wm_manipulator_wmapi.h (+10, -4) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+5, -2) (Diff)
/source/blender/editors/include/ED_transform.h (+4, -4) (Diff)
/source/blender/editors/manipulator_library/arrow2d_manipulator.c (+0, -1) (Diff)
/source/blender/editors/manipulator_library/arrow3d_manipulator.c (+29, -27) (Diff)
/source/blender/editors/manipulator_library/cage2d_manipulator.c (+10, -12) (Diff)
/source/blender/editors/manipulator_library/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/manipulator_library/dial3d_manipulator.c (+55, -14) (Diff)
/source/blender/editors/manipulator_library/manipulator_draw_utils.c (+0, -2) (Diff)
/source/blender/editors/manipulator_library/manipulator_library_intern.h (+2, -6) (Diff)
/source/blender/editors/manipulator_library/manipulator_library_presets.c (+0, -1) (Diff)
/source/blender/editors/manipulator_library/manipulator_library_utils.c (+14, -36) (Diff)
/source/blender/editors/manipulator_library/primitive3d_manipulator.c (+2, -3) (Diff)
/source/blender/editors/space_node/node_manipulators.c (+4, -4) (Diff)
/source/blender/editors/space_node/space_node.c (+6, -6) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+10, -13) (Diff)
/source/blender/editors/space_view3d/view3d_manipulators.c (+17, -14) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+7, -6) (Diff)
/source/blender/editors/util/ed_util.c (+7, -4) (Diff)
/source/blender/makesdna/intern/makesdna.c (+0, -2) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+3, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+3, -2) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+2, -0) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator.c (+1, -155) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c (+126, -97) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulatormap.c (+97, -44) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h (+8, -5) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_api.h (+90, -40) (Diff)
/source/blender/windowmanager/manipulators/wm_manipulator_fn.h (+30, -4) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_types.h (+60, -11) (Diff)
/source/blender/windowmanager/manipulators/wm_manipulator_wmapi.h (+10, -4) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+5, -2) (Diff)