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:
authorAaron Carlisle <carlisle.b3d@gmail.com>2020-09-10 04:15:05 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2020-09-10 04:15:05 +0300
commitd2d3ab05b3b078acc10c26e984d534524177a615 (patch)
tree4c2dd448e5f1997dce971d8e71ef856e4aef26a6 /release
parentaf843be3012ac97f69d8a6bdf25b28f3025a2ee0 (diff)
UI: Use split layout for world mist settings
Differential Revision: https://developer.blender.org/D7548
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_world.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_world.py b/release/scripts/startup/bl_ui/properties_world.py
index 6f00e521e58..9b61311c2d3 100644
--- a/release/scripts/startup/bl_ui/properties_world.py
+++ b/release/scripts/startup/bl_ui/properties_world.py
@@ -77,9 +77,12 @@ class EEVEE_WORLD_PT_mist(WorldButtonsPanel, Panel):
world = context.world
- layout.prop(world.mist_settings, "start")
- layout.prop(world.mist_settings, "depth")
- layout.prop(world.mist_settings, "falloff")
+ col = layout.column(align=True)
+ col.prop(world.mist_settings, "start")
+ col.prop(world.mist_settings, "depth")
+
+ col = layout.column()
+ col.prop(world.mist_settings, "falloff")
class WORLD_PT_custom_props(WorldButtonsPanel, PropertyPanel, Panel):