[Bf-blender-cvs] [cb4c49a] master: UI: Improved layout for Cycles Volume Sampling panel.
Thomas Dinges
noreply at git.blender.org
Sat Mar 15 17:38:05 CET 2014
Commit: cb4c49ad973f7e31204f282e3da18af74dab5a7c
Author: Thomas Dinges
Date: Sat Mar 15 16:52:42 2014 +0100
https://developer.blender.org/rBcb4c49ad973f7e31204f282e3da18af74dab5a7c
UI: Improved layout for Cycles Volume Sampling panel.
===================================================================
M intern/cycles/blender/addon/ui.py
===================================================================
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index c54ff8a..7f0a22d 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):
More information about the Bf-blender-cvs
mailing list