diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-03-23 14:48:09 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-03-23 14:48:19 +0300 |
commit | c48ebb44ae15b1238a6d86e98fee6cd1ff0cba73 (patch) | |
tree | 1770c262d637bed2f8703b9a9284652a1410123c /intern/cycles/blender | |
parent | fd2b4a74c82b75cbbce393a878aa92021b56288d (diff) |
Tidy up the user interface for depth of field based on feedback by
NudelZ on irc, thanks!
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 1097b79ffa5..f0f256f979e 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -456,10 +456,12 @@ class CyclesCamera_PT_dof(CyclesButtonsPanel, Panel): sub = col.row() sub.active = cam.dof_object is None sub.prop(cam, "dof_distance", text="Distance") - col.prop(dof_options, "fstop") - col.prop(dof_options, "use_high_quality") + sub = col.column(align=True) + sub.label("Viewport:") + sub.prop(dof_options, "use_high_quality") + sub.prop(dof_options, "fstop") if dof_options.use_high_quality: - col.prop(dof_options, "blades") + sub.prop(dof_options, "blades") col = split.column() |