Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-08-02 20:35:29 +0300
committerAntonioya <blendergit@gmail.com>2018-08-02 20:35:29 +0300
commit836db3aee80008def4edb5c32c1cd7eccddc862f (patch)
tree3c7476480e61726d607c895e675290761c8b292e /release/scripts/startup/bl_ui/properties_grease_pencil_common.py
parent45751065c0e13242e08ef0d0b3dbecf9b4a05baa (diff)
Add Assign Material option to Special menu (W key)
Also some renames and cleanups.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py55
1 files changed, 0 insertions, 55 deletions
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 9f2edefc3c2..336e4acfd8f 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -582,59 +582,6 @@ class GPENCIL_MT_separate(Menu):
layout.operator("gpencil.stroke_separate", text="Active Layer").mode = 'LAYER'
-class GPENCIL_MT_gpencil_edit_specials(Menu):
- bl_label = "GPencil Specials"
-
- def draw(self, context):
- layout = self.layout
- is_3d_view = context.space_data.type == 'VIEW_3D'
-
- layout.operator_context = 'INVOKE_REGION_WIN'
-
- layout.operator("gpencil.stroke_subdivide", text="Subdivide")
- layout.operator("gpencil.stroke_simplify_fixed", text="Simplify")
- layout.operator("gpencil.stroke_simplify", text="Simplify Adaptative")
-
- layout.separator()
- layout.menu("GPENCIL_MT_separate", text="Separate")
-
- layout.separator()
- layout.operator("gpencil.stroke_split", text="Split")
-
- layout.separator()
-
- layout.operator("gpencil.stroke_join", text="Join").type = 'JOIN'
- layout.operator("gpencil.stroke_join", text="Join & Copy").type = 'JOINCOPY'
- layout.operator("gpencil.stroke_flip", text="Flip Direction")
-
- layout.separator()
- layout.operator("gpencil.frame_duplicate", text="Duplicate Active Frame")
- layout.operator("gpencil.frame_duplicate", text="Duplicate Active Frame All Layers").mode = 'ALL'
-
- if is_3d_view:
- layout.separator()
- layout.operator("gpencil.reproject")
-
-
-class GPENCIL_MT_gpencil_sculpt_specials(Menu):
- bl_label = "GPencil Specials"
-
- def draw(self, context):
- layout = self.layout
- is_3d_view = context.space_data.type == 'VIEW_3D'
-
- layout.operator_context = 'INVOKE_REGION_WIN'
-
- layout.operator("gpencil.frame_duplicate", text="Duplicate Active Frame")
- layout.operator("gpencil.frame_duplicate", text="Duplicate Active Frame All Layers").mode = 'ALL'
-
- layout.separator()
-
- layout.operator("gpencil.stroke_subdivide", text="Subdivide")
- layout.operator("gpencil.stroke_simplify_fixed", text="Simplify")
- layout.operator("gpencil.stroke_simplify", text="Simplify Adaptative")
-
-
class GPENCIL_MT_gpencil_draw_specials(Menu):
bl_label = "GPencil Draw Specials"
@@ -859,8 +806,6 @@ classes = (
GPENCIL_MT_snap,
GPENCIL_MT_separate,
- GPENCIL_MT_gpencil_edit_specials,
- GPENCIL_MT_gpencil_sculpt_specials,
GPENCIL_MT_gpencil_draw_specials,
GPENCIL_MT_gpencil_draw_delete,