[Bf-blender-cvs] [b7338463a79] blender2.8: Tool System: workaround click conflicting w/ add brush
Campbell Barton
noreply at git.blender.org
Fri Jun 15 12:29:54 CEST 2018
Commit: b7338463a79913cc2eceaad04e8144b2770860e1
Author: Campbell Barton
Date: Fri Jun 15 12:28:19 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBb7338463a79913cc2eceaad04e8144b2770860e1
Tool System: workaround click conflicting w/ add brush
===================================================================
M release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
index 9f5861200b3..c1331425572 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -98,10 +98,11 @@ class _defs_view3d_generic:
@ToolDef.from_fn
def cursor_click():
return dict(
- text="Cursor Click",
+ text="None",
icon="ops.generic.cursor",
keymap=(
- ("view3d.cursor3d", dict(), dict(type='ACTIONMOUSE', value='CLICK')),
+ # This is a dummy keymap entry, until particle system is properly working with toolsystem.
+ ("view3d.cursor3d", dict(), dict(type='ACTIONMOUSE', value='CLICK', ctrl=True, alt=True, shift=True)),
),
)
More information about the Bf-blender-cvs
mailing list