diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-10-01 03:02:29 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-10-01 03:02:29 +0400 |
commit | aaba317c763657d7c309a1c3e96b58f5924afd29 (patch) | |
tree | 4faf1cabbfab4f63e4ffe00d42a9bcd3dace83b1 /release/scripts | |
parent | e28bd0d3024f6a21adbc1aa74fa87865ae613046 (diff) |
Follow-up to r60433 (related to Bug #36878): additional checks for NULL line styles.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_freestyle.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_freestyle.py b/release/scripts/startup/bl_ui/properties_freestyle.py index 18dd8f591e8..a96441a26e5 100644 --- a/release/scripts/startup/bl_ui/properties_freestyle.py +++ b/release/scripts/startup/bl_ui/properties_freestyle.py @@ -530,6 +530,8 @@ class RENDERLAYER_PT_freestyle_linestyle(RenderLayerFreestyleEditorButtonsPanel, linestyle = lineset.linestyle layout.template_ID(lineset, "linestyle", new="scene.freestyle_linestyle_new") + if linestyle is None: + return row = layout.row(align=True) row.prop(linestyle, "panel", expand=True) if linestyle.panel == 'STROKES': |