[Bf-blender-cvs] [42600ab2143] blender2.8: GP: Add select tools in sculpt mode

Antonioya noreply at git.blender.org
Tue Sep 25 13:35:23 CEST 2018


Commit: 42600ab214340870df1ffd665a0fde8b5f3d2723
Author: Antonioya
Date:   Tue Sep 25 13:17:48 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB42600ab214340870df1ffd665a0fde8b5f3d2723

GP: Add select tools in sculpt mode

===================================================================

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 1aa9e6150fe..82b53c25ccd 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -1708,6 +1708,14 @@ class VIEW3D_PT_tools_active(ToolSelectPanelHelper, Panel):
         _defs_view3d_generic.ruler,
     )
 
+    _tools_gpencil_select = (
+        (
+            _defs_gpencil_edit.border_select,
+            _defs_gpencil_edit.circle_select,
+            _defs_gpencil_edit.lasso_select,
+        ),
+    )
+
     _tools = {
         None: [
             # Don't use this! because of paint modes.
@@ -1882,6 +1890,8 @@ class VIEW3D_PT_tools_active(ToolSelectPanelHelper, Panel):
             _defs_gpencil_sculpt.pinch,
             _defs_gpencil_sculpt.randomize,
             _defs_gpencil_sculpt.clone,
+            None,
+            *_tools_gpencil_select,
         ],
         'GPENCIL_WEIGHT': [
             _defs_gpencil_weight.paint,



More information about the Bf-blender-cvs mailing list