diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_view_layer.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_view_layer.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/properties_view_layer.py b/release/scripts/startup/bl_ui/properties_view_layer.py index 27df3b10853..b5e6942f19d 100644 --- a/release/scripts/startup/bl_ui/properties_view_layer.py +++ b/release/scripts/startup/bl_ui/properties_view_layer.py @@ -113,8 +113,7 @@ class VIEWLAYER_PT_eevee_layer_passes_light(ViewLayerButtonsPanel, Panel): col.prop(view_layer, "use_pass_glossy_color", text="Color") col = layout.column(heading="Volume", align=True) - col.prop(view_layer_eevee, "use_pass_volume_transmittance", text="Transmittance") - col.prop(view_layer_eevee, "use_pass_volume_scatter", text="Scatter") + col.prop(view_layer_eevee, "use_pass_volume_direct", text="Light") col = layout.column(heading="Other", align=True) col.prop(view_layer, "use_pass_emit", text="Emission") @@ -187,8 +186,8 @@ class ViewLayerCryptomattePanel(ViewLayerButtonsPanel, Panel): col.prop(view_layer, "use_pass_cryptomatte_material", text="Material") col.prop(view_layer, "use_pass_cryptomatte_asset", text="Asset") col = layout.column() - col.active = any((view_layer.use_pass_cryptomatte_object, - view_layer.use_pass_cryptomatte_material, + col.active = any((view_layer.use_pass_cryptomatte_object, + view_layer.use_pass_cryptomatte_material, view_layer.use_pass_cryptomatte_asset)) col.prop(view_layer, "pass_cryptomatte_depth", text="Levels") col.prop(view_layer, "use_pass_cryptomatte_accurate", text="Accurate Mode") |