Commit: 76007990d3c51c3777506c4a1dd687a8e26fd88d
Author: Joshua Leung
Date: Mon Oct 13 01:54:28 2014 +1300
Branches: GPencil_EditStrokes
https://developer.blender.org/rB76007990d3c51c3777506c4a1dd687a8e26fd88d
GPencil UI: Further cleaning up the UI to not show the "stroke placement"
settings
Since we now show the "Stroke Placement" settings in the toolshelf (where
available),
we can now afford to not show it in the properties too. The only exception for
this
is the sequencer, where there is no toolshelf we can use.
===================================================================
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 d324d37..1292c14 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -227,10 +227,13 @@ class GreasePencilDataPanel():
else:
self.draw_layers(context, layout, gpd)
- layout.separator()
- layout.separator()
+ # only sequencer doesn't have a toolbar to show this in,
+ # so only show this for the sequencer...
+ if context.space_data.type == 'SEQUENCE_EDITOR':
+ layout.separator()
+ layout.separator()
- gpencil_stroke_placement_settings(context, layout, gpd)
+ gpencil_stroke_placement_settings(context, layout, gpd)
def draw_layers(self, context, layout, gpd):
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs