diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-02-12 21:35:32 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-02-12 21:35:43 +0300 |
commit | f20fa24ba18793799f6864d7223107012a5912c7 (patch) | |
tree | 1b46687f9a0cdee49b17091459c89c0ba97d7c0e /intern/cycles/blender/addon/ui.py | |
parent | ebd4a6e0dd3bdd511f3857dc9192df848f388200 (diff) |
Add DOF fstop property for cycles, also don't grey it out when object is
set as focused
Diffstat (limited to 'intern/cycles/blender/addon/ui.py')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 651114a12dc..df773c2fec8 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -445,6 +445,7 @@ class CyclesCamera_PT_dof(CyclesButtonsPanel, Panel): cam = context.camera ccam = cam.cycles + dof_options = cam.gpu_dof split = layout.split() @@ -455,6 +456,7 @@ 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", text="GPU fstop") col = split.column() |