diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-20 19:52:57 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-20 19:52:57 +0300 |
commit | 4264cee9215ccff5e8dcd5fed501ba0b99c000f1 (patch) | |
tree | c87b5233e0d34d25c9b9a826d2a412c63a1ac880 /release/scripts/startup/bl_ui/space_toolsystem_toolbar.py | |
parent | 963d668a03991072b8fef6e70f0d105ff146735b (diff) |
GP: Cleanup unused code
Diffstat (limited to 'release/scripts/startup/bl_ui/space_toolsystem_toolbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_toolsystem_toolbar.py | 12 |
1 files changed, 0 insertions, 12 deletions
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', |