Blender Git Loki
Git Commits -> Revision f4a4ec8
Revision f4a4ec8 by Campbell Barton (master) November 21, 2019, 11:45 (GMT) |
Tool System: make smooth & randomize modal operators Previously these used a gizmo to redo the operator however this complicated having on-screen gizmos to access tools (see T66304). Replace this with a generic way to make an operator that only has an execute function into a modal operator. This is used for smooth and randomize tools. Unlike operator gestures, this handles storing and resetting the data. Currently this only handles edit-mode data, however it's can be extended to other kinds of data. |
Commit Details:
Full Hash: f4a4ec84255a5f3a8d5566b1817114d2231be215
Parent Commit: 20620af
Lines Changed: +343, -4
1 Added Path:
/source/blender/windowmanager/intern/wm_operator_utils.c (+323, -0) (View)
7 Modified Paths:
/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+2, -2) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+2, -2) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+6, -0) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+3, -0) (Diff)
/source/blender/editors/object/object_random.c (+3, -0) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+1, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+3, -0) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+2, -2) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+6, -0) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+3, -0) (Diff)
/source/blender/editors/object/object_random.c (+3, -0) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+1, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+3, -0) (Diff)