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
path: root/intern
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2014-03-15 19:52:42 +0400
committerThomas Dinges <blender@dingto.org>2014-03-15 20:37:42 +0400
commitcb4c49ad973f7e31204f282e3da18af74dab5a7c (patch)
tree8c5d3b1e0fc041e69709be93b1d9aa7c4195836c /intern
parent13ae541be4d4c04986b8954c4c30c57dcda59400 (diff)
UI: Improved layout for Cycles Volume Sampling panel.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/blender/addon/ui.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index c54ff8ae2d1..7f0a22d2af5 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -169,13 +169,16 @@ class CyclesRender_PT_volume_sampling(CyclesButtonsPanel, Panel):
scene = context.scene
cscene = scene.cycles
- layout.prop(cscene, "volume_homogeneous_sampling", text="Homogeneous")
+ split = layout.split(align=True)
- layout.label("Heterogeneous:")
+ sub = split.column(align=True)
+ sub.label("Heterogeneous:")
+ sub.prop(cscene, "volume_step_size")
+ sub.prop(cscene, "volume_max_steps")
- split = layout.split()
- split.prop(cscene, "volume_step_size")
- split.prop(cscene, "volume_max_steps")
+ sub = split.column(align=True)
+ sub.label("Homogeneous:")
+ sub.prop(cscene, "volume_homogeneous_sampling", text="")
class CyclesRender_PT_light_paths(CyclesButtonsPanel, Panel):