Blender Git Loki
Git Commits -> Revision b10d005
Revision b10d005 by Mike Erwin (master) August 18, 2016, 04:22 (GMT) |
NDOF: compile 3D mouse code only if WITH_INPUT_NDOF When WITH_INPUT_NDOF is disabled, 3D mouse handling code is removed from: - GHOST (was mostly done, finished the job) - window manager - various editors - RNA - keymaps The input tab of user prefs does not show 3D mouse settings. Key map editor does not show NDOF mappings. DNA does not change. On my Mac the compiled binary is 42KB smaller after this change. It runs fine WITH_INPUT_NDOF on or off. |
Commit Details:
Full Hash: b10d0058d72da3051895481ae5830a7b668b7d80
Parent Commit: a195dd1
Lines Changed: +236, -72
49 Modified Paths:
/intern/ghost/GHOST_C-api.h (+2, -0) (Diff)
/intern/ghost/GHOST_ISystem.h (+2, -0) (Diff)
/intern/ghost/GHOST_Types.h (+4, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+2, -1) (Diff)
/intern/ghost/intern/GHOST_EventNDOF.h (+4, -1) (Diff)
/intern/ghost/intern/GHOST_NDOFManager.h (+4, -0) (Diff)
/intern/ghost/intern/GHOST_NDOFManagerCocoa.h (+0, -4) (Diff)
/intern/ghost/intern/GHOST_NDOFManagerUnix.cpp (+0, -4) (Diff)
/intern/ghost/intern/GHOST_NDOFManagerUnix.h (+0, -3) (Diff)
/intern/ghost/intern/GHOST_NDOFManagerWin32.cpp (+0, -4) (Diff)
/intern/ghost/intern/GHOST_NDOFManagerWin32.h (+0, -4) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+6, -5) (Diff)
/intern/ghost/intern/GHOST_System.h (+4, -0) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+3, -3) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+10, -9) (Diff)
/source/blender/editors/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+8, -1) (Diff)
/source/blender/editors/interface/view2d_ops.c (+6, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+2, -0) (Diff)
/source/blender/editors/space_action/action_ops.c (+2, -0) (Diff)
/source/blender/editors/space_clip/clip_intern.h (+2, -0) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+2, -0) (Diff)
/source/blender/editors/space_clip/space_clip.c (+8, -0) (Diff)
/source/blender/editors/space_graph/graph_ops.c (+2, -0) (Diff)
/source/blender/editors/space_image/image_intern.h (+2, -0) (Diff)
/source/blender/editors/space_image/image_ops.c (+2, -0) (Diff)
/source/blender/editors/space_image/space_image.c (+4, -0) (Diff)
/source/blender/editors/space_logic/space_logic.c (+2, -0) (Diff)
/source/blender/editors/space_nla/nla_ops.c (+2, -0) (Diff)
/source/blender/editors/space_node/node_ops.c (+2, -0) (Diff)
/source/blender/editors/space_sequencer/sequencer_ops.c (+4, -0) (Diff)
/source/blender/editors/space_time/time_ops.c (+2, -0) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+4, -1) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+4, -0) (Diff)
/source/blender/editors/space_view3d/view3d_fly.c (+26, -9) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+6, -1) (Diff)
/source/blender/editors/space_view3d/view3d_ops.c (+4, -3) (Diff)
/source/blender/editors/space_view3d/view3d_walk.c (+25, -9) (Diff)
/source/blender/editors/transform/transform_ops.c (+1, -1) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+12, -0) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+11, -1) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+4, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+12, -0) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+3, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+5, -5) (Diff)
/source/blender/windowmanager/WM_api.h (+7, -1) (Diff)
/source/blender/windowmanager/wm_event_types.h (+9, -1) (Diff)
/source/blender/windowmanager/WM_types.h (+2, -0) (Diff)
/intern/ghost/GHOST_ISystem.h (+2, -0) (Diff)
/intern/ghost/GHOST_Types.h (+4, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+2, -1) (Diff)
/intern/ghost/intern/GHOST_EventNDOF.h (+4, -1) (Diff)
/intern/ghost/intern/GHOST_NDOFManager.h (+4, -0) (Diff)
/intern/ghost/intern/GHOST_NDOFManagerCocoa.h (+0, -4) (Diff)
/intern/ghost/intern/GHOST_NDOFManagerUnix.cpp (+0, -4) (Diff)
/intern/ghost/intern/GHOST_NDOFManagerUnix.h (+0, -3) (Diff)
/intern/ghost/intern/GHOST_NDOFManagerWin32.cpp (+0, -4) (Diff)
/intern/ghost/intern/GHOST_NDOFManagerWin32.h (+0, -4) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+6, -5) (Diff)
/intern/ghost/intern/GHOST_System.h (+4, -0) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+3, -3) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+10, -9) (Diff)
/source/blender/editors/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+8, -1) (Diff)
/source/blender/editors/interface/view2d_ops.c (+6, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+2, -0) (Diff)
/source/blender/editors/space_action/action_ops.c (+2, -0) (Diff)
/source/blender/editors/space_clip/clip_intern.h (+2, -0) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+2, -0) (Diff)
/source/blender/editors/space_clip/space_clip.c (+8, -0) (Diff)
/source/blender/editors/space_graph/graph_ops.c (+2, -0) (Diff)
/source/blender/editors/space_image/image_intern.h (+2, -0) (Diff)
/source/blender/editors/space_image/image_ops.c (+2, -0) (Diff)
/source/blender/editors/space_image/space_image.c (+4, -0) (Diff)
/source/blender/editors/space_logic/space_logic.c (+2, -0) (Diff)
/source/blender/editors/space_nla/nla_ops.c (+2, -0) (Diff)
/source/blender/editors/space_node/node_ops.c (+2, -0) (Diff)
/source/blender/editors/space_sequencer/sequencer_ops.c (+4, -0) (Diff)
/source/blender/editors/space_time/time_ops.c (+2, -0) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+4, -1) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+4, -0) (Diff)
/source/blender/editors/space_view3d/view3d_fly.c (+26, -9) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+6, -1) (Diff)
/source/blender/editors/space_view3d/view3d_ops.c (+4, -3) (Diff)
/source/blender/editors/space_view3d/view3d_walk.c (+25, -9) (Diff)
/source/blender/editors/transform/transform_ops.c (+1, -1) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+12, -0) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+11, -1) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+4, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+12, -0) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+3, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+5, -5) (Diff)
/source/blender/windowmanager/WM_api.h (+7, -1) (Diff)
/source/blender/windowmanager/wm_event_types.h (+9, -1) (Diff)
/source/blender/windowmanager/WM_types.h (+2, -0) (Diff)