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:
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_render.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_render.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py
index 9a9b973650c..08f19a02ecc 100644
--- a/release/scripts/startup/bl_ui/properties_render.py
+++ b/release/scripts/startup/bl_ui/properties_render.py
@@ -755,17 +755,7 @@ class RENDER_PT_workbench_environment_light(RenderButtonsPanel, Panel):
layout = self.layout
scene = context.scene
props = scene.layer_properties['BLENDER_WORKBENCH']
-
- row = layout.row(align=True)
- col = row.column(align=True)
- col.prop(props, "diffuse_light_x_neg", text="Left/Right")
- col.prop(props, "diffuse_light_x_pos", text="")
- col = row.column(align=True)
- col.prop(props, "diffuse_light_y_pos", text="Up/Down")
- col.prop(props, "diffuse_light_y_neg", text="")
- col = row.column(align=True)
- col.prop(props, "diffuse_light_z_pos", text="Front/Back")
- col.prop(props, "diffuse_light_z_neg", text="")
+ layout.prop(props, "light_direction", text="")
classes = (