[Bf-blender-cvs] [5495f89cf69] blender2.8: Fix User Interface for Volumetric
Dalai Felinto
noreply at git.blender.org
Wed Jul 5 19:24:01 CEST 2017
Commit: 5495f89cf69c69734fc70f086adb65e34dea7dd9
Author: Dalai Felinto
Date: Wed Jul 5 19:23:57 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB5495f89cf69c69734fc70f086adb65e34dea7dd9
Fix User Interface for Volumetric
===================================================================
M release/scripts/startup/bl_ui/properties_render_layer.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_render_layer.py b/release/scripts/startup/bl_ui/properties_render_layer.py
index 7df7e175b79..450e3863965 100644
--- a/release/scripts/startup/bl_ui/properties_render_layer.py
+++ b/release/scripts/startup/bl_ui/properties_render_layer.py
@@ -239,15 +239,15 @@ class RENDERLAYER_PT_eevee_volumetric(RenderLayerButtonsPanel, Panel):
layer_props = layer.engine_overrides['BLENDER_EEVEE']
col = layout.column()
- col.prop(props, "volumetric_start")
- col.prop(props, "volumetric_end")
- col.prop(props, "volumetric_samples")
- col.prop(props, "volumetric_sample_distribution")
- col.prop(props, "volumetric_lights")
- col.prop(props, "volumetric_light_clamp")
- col.prop(props, "volumetric_shadows")
- col.prop(props, "volumetric_shadow_samples")
- col.prop(props, "volumetric_colored_transmittance")
+ col.template_override_property(layer_props, scene_props, "volumetric_start")
+ col.template_override_property(layer_props, scene_props, "volumetric_end")
+ col.template_override_property(layer_props, scene_props, "volumetric_samples")
+ col.template_override_property(layer_props, scene_props, "volumetric_sample_distribution")
+ col.template_override_property(layer_props, scene_props, "volumetric_lights")
+ col.template_override_property(layer_props, scene_props, "volumetric_light_clamp")
+ col.template_override_property(layer_props, scene_props, "volumetric_shadows")
+ col.template_override_property(layer_props, scene_props, "volumetric_shadow_samples")
+ col.template_override_property(layer_props, scene_props, "volumetric_colored_transmittance")
classes = (
More information about the Bf-blender-cvs
mailing list