[Bf-blender-cvs] [4264cee9215] blender2.8: GP: Cleanup unused code
Antonioya
noreply at git.blender.org
Thu Sep 20 18:53:06 CEST 2018
Commit: 4264cee9215ccff5e8dcd5fed501ba0b99c000f1
Author: Antonioya
Date: Thu Sep 20 18:52:57 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB4264cee9215ccff5e8dcd5fed501ba0b99c000f1
GP: Cleanup unused code
===================================================================
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 5a7ec76c999..0eb1593c8d0 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -67,18 +67,6 @@ def generate_from_brushes_ex(
name = brush.name
text = name
- # XXX, disabled since changing the brush needs to sync back to the tool.
- """
- # rename default brushes for tool bar
- if name.startswith("Draw "):
- text = name.replace("Draw ", "")
- elif name.startswith("Eraser "):
- text = name.replace("Eraser ", "")
- elif name.startswith("Fill "):
- text = name.replace(" Area", "")
- else:
- text = name
- """
# Define icon.
icon_name = {
'PENCIL': 'draw_pencil',
More information about the Bf-blender-cvs
mailing list