[Bf-blender-cvs] [4793302] GPencil_EditStrokes: UI: Add toggle for stroke editmode to sequencer properties panel (since it doesn't have a toolbar)
Joshua Leung
noreply at git.blender.org
Wed Oct 22 15:42:23 CEST 2014
Commit: 47933026747d01f439133581bc5a136119d51f50
Author: Joshua Leung
Date: Thu Oct 23 02:21:19 2014 +1300
Branches: GPencil_EditStrokes
https://developer.blender.org/rB47933026747d01f439133581bc5a136119d51f50
UI: Add toggle for stroke editmode to sequencer properties panel (since it doesn't have a toolbar)
===================================================================
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 8bb240c..b2018aa 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):
More information about the Bf-blender-cvs
mailing list