Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2017-07-05 20:23:57 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-07-05 20:23:57 +0300
commit5495f89cf69c69734fc70f086adb65e34dea7dd9 (patch)
tree7982c4b0fbbfbea621d4d330bd273756626890b9 /release
parentc62f82e35b8ebcc12f00d78ca8826906f91b635f (diff)
Fix User Interface for Volumetric
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_render_layer.py18
1 files changed, 9 insertions, 9 deletions
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 = (