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:
authorJoshua Leung <aligorith@gmail.com>2014-10-22 17:21:19 +0400
committerJoshua Leung <aligorith@gmail.com>2014-10-22 17:21:19 +0400
commit47933026747d01f439133581bc5a136119d51f50 (patch)
treecfa0a33b28e373a6c9c674759b7ad14939da7599 /release/scripts/startup
parentbb45d48c1b91052d5d223cabfacf90dd8f4eeaf4 (diff)
UI: Add toggle for stroke editmode to sequencer properties panel (since it doesn't have a toolbar)
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py9
1 files changed, 7 insertions, 2 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 8bb240c1fbe..b2018aa97dd 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -101,7 +101,7 @@ class GreasePencilStrokeEditPanel():
edit_ok = context.editable_gpencil_strokes and gpd.use_stroke_edit_mode
col = layout.column(align=True)
- col.prop(gpd, "use_stroke_edit_mode", text="Enable Edit Mode", icon='EDIT', toggle=True)
+ col.prop(gpd, "use_stroke_edit_mode", text="Enable Editing", icon='EDIT', toggle=True)
col.separator()
@@ -240,12 +240,17 @@ class GreasePencilDataPanel():
else:
self.draw_layers(context, layout, gpd)
- # only sequencer doesn't have a toolbar to show this in,
+ # only sequencer doesn't have a toolbar to show these settings in,
# so only show this for the sequencer...
if context.space_data.type == 'SEQUENCE_EDITOR':
layout.separator()
layout.separator()
+ layout.prop(gpd, "use_stroke_edit_mode", text="Enable Stroke Editing", icon='EDIT', toggle=True)
+
+ layout.separator()
+ layout.separator()
+
gpencil_stroke_placement_settings(context, layout, gpd)
def draw_layers(self, context, layout, gpd):