[Bf-blender-cvs] [6d85d0f08ab] greasepencil-object: Cleanup: Delete unused code

Joshua Leung noreply at git.blender.org
Thu Jun 21 16:19:21 CEST 2018


Commit: 6d85d0f08abe6b305fe14ec230332875242b2bd7
Author: Joshua Leung
Date:   Fri Jun 22 01:52:57 2018 +1200
Branches: greasepencil-object
https://developer.blender.org/rB6d85d0f08abe6b305fe14ec230332875242b2bd7

Cleanup: Delete unused code

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

M	release/scripts/startup/bl_ui/properties_grease_pencil_common.py

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

diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index e46f6b310ea..456ed6c9f41 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -764,15 +764,6 @@ class GPENCIL_MT_layer_specials(Menu):
         layout.operator("gpencil.layer_merge", icon='NLA', text="Merge Down")
 
 
-class GPENCIL_MT_brush_specials(Menu):
-    bl_label = "Brush"
-
-    def draw(self, context):
-        layout = self.layout
-        layout.operator("gpencil.brush_copy", icon='PASTEDOWN', text="Copy Current Drawing Brush")
-        layout.operator("gpencil.brush_presets_create", icon='HELP', text="Create a Set of Predefined Brushes")
-
-
 class GreasePencilDataPanel:
     bl_label = "Annotations"
     bl_region_type = 'UI'
@@ -954,7 +945,6 @@ classes = (
     GPENCIL_MT_gpencil_draw_specials,
     GPENCIL_UL_layer,
     GPENCIL_MT_layer_specials,
-    GPENCIL_MT_brush_specials,
 )
 
 if __name__ == "__main__":  # only for live edit.



More information about the Bf-blender-cvs mailing list