Commit: 98d4d4ce583db038a7a60afeb9a588c0710561fd
Author: Campbell Barton
Date: Mon May 28 18:05:21 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB98d4d4ce583db038a7a60afeb9a588c0710561fd
Tool System: workaround psys cursor conflict
This needs to be solved properly, for now add cursor-click tool
which can co-exist w/ particle paint.
===================================================================
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 814c26ce796..42fac9e03a4 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -95,6 +95,16 @@ class _defs_view3d_generic:
),
)
+ @ToolDef.from_fn
+ def cursor_click():
+ return dict(
+ text="Cursor Click",
+ icon="ops.generic.cursor",
+ keymap=(
+ ("view3d.cursor3d", dict(), dict(type='ACTIONMOUSE',
value='CLICK')),
+ ),
+ )
+
@ToolDef.from_fn
def ruler():
return dict(
@@ -1022,6 +1032,11 @@ class VIEW3D_PT_tools_active(ToolSelectPanelHelper,
Panel):
_defs_edit_curve.draw,
_defs_edit_curve.extrude_cursor,
],
+ 'PARTICLE': [
+ # TODO(campbell): use cursor click tool to allow paint tools to
run,
+ # we need to integrate particle system tools properly.
+ _defs_view3d_generic.cursor_click,
+ ],
'SCULPT': [
_defs_sculpt.generate_from_brushes,
],
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs