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:
authorThomas Dinges <blender@dingto.org>2012-06-14 12:58:23 +0400
committerThomas Dinges <blender@dingto.org>2012-06-14 12:58:23 +0400
commitbccadfb33522b28b8bff8cf23a6bbb492ac50a82 (patch)
tree5f1c0cb8aa838a8107b58adffce1e528822e76b9 /intern/cycles
parente8d48b187b83acb6fad6fbb244bbf8c8bbe51e89 (diff)
Cyles UI:
* Alignment fix for the "Samples" panel, this way both columns are aligned nicely.
Diffstat (limited to 'intern/cycles')
-rw-r--r--intern/cycles/blender/addon/ui.py23
1 files changed, 12 insertions, 11 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 6f2b33b2815..bda8249c17e 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -57,7 +57,7 @@ class CyclesRender_PT_sampling(CyclesButtonsPanel, Panel):
split = layout.split()
col = split.column()
- sub = col.column(align=True)
+ sub = col.column()
sub.active = cscene.device == 'CPU'
sub.prop(cscene, "progressive")
@@ -66,23 +66,24 @@ class CyclesRender_PT_sampling(CyclesButtonsPanel, Panel):
sub.prop(cscene, "sample_clamp")
if cscene.progressive or cscene.device != 'CPU':
- col = split.column(align=True)
+ col = split.column()
col.label(text="Samples:")
- col.prop(cscene, "samples", text="Render")
- col.prop(cscene, "preview_samples", text="Preview")
- else:
sub = col.column(align=True)
+ sub.prop(cscene, "samples", text="Render")
+ sub.prop(cscene, "preview_samples", text="Preview")
+ else:
sub.label(text="AA Samples:")
sub.prop(cscene, "aa_samples", text="Render")
sub.prop(cscene, "preview_aa_samples", text="Preview")
- col = split.column(align=True)
+ col = split.column()
col.label(text="Samples:")
- col.prop(cscene, "diffuse_samples", text="Diffuse")
- col.prop(cscene, "glossy_samples", text="Glossy")
- col.prop(cscene, "transmission_samples", text="Transmission")
- col.prop(cscene, "ao_samples", text="AO")
- col.prop(cscene, "mesh_light_samples", text="Mesh Light")
+ sub = col.column(align=True)
+ sub.prop(cscene, "diffuse_samples", text="Diffuse")
+ sub.prop(cscene, "glossy_samples", text="Glossy")
+ sub.prop(cscene, "transmission_samples", text="Transmission")
+ sub.prop(cscene, "ao_samples", text="AO")
+ sub.prop(cscene, "mesh_light_samples", text="Mesh Light")
class CyclesRender_PT_light_paths(CyclesButtonsPanel, Panel):
bl_label = "Light Paths"