diff options
author | Antonioya <blendergit@gmail.com> | 2018-10-25 17:50:42 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-10-25 17:50:42 +0300 |
commit | 4c2561a87777d821dfb5f44463b4629a2206a9f2 (patch) | |
tree | 98f29a1fb3a73eba92ed3000277f278d09aed1f4 /release | |
parent | 2b6253175ea63e787cde8bb3c6b7fa16c17e9247 (diff) |
GP: Include option to render layers by view layer
This allows to make composition getting each grease pencil layer in a different render output.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_gpencil.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py index 29ba3c1ff83..a40ba463603 100644 --- a/release/scripts/startup/bl_ui/properties_data_gpencil.py +++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py @@ -172,6 +172,7 @@ class DATA_PT_gpencil_layer_optionpanel(LayerDataButtonsPanel, Panel): def draw(self, context): layout = self.layout layout.use_property_split = True + scene = context.scene gpl = context.active_gpencil_layer layout.active = not gpl.lock @@ -191,6 +192,9 @@ class DATA_PT_gpencil_layer_optionpanel(LayerDataButtonsPanel, Panel): col.prop(gpl, "pass_index") col = layout.row(align=True) + col.prop_search(gpl, "viewlayer_render", scene, "view_layers", text="View Layer") + + col = layout.row(align=True) col.prop(gpl, "lock_material") |