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 /release/scripts | |
parent | ebd4a6e0dd3bdd511f3857dc9192df848f388200 (diff) |
Add DOF fstop property for cycles, also don't grey it out when object is
set as focused
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_camera.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_camera.py b/release/scripts/startup/bl_ui/properties_data_camera.py index 7fc2c2ec084..c605b0f0edb 100644 --- a/release/scripts/startup/bl_ui/properties_data_camera.py +++ b/release/scripts/startup/bl_ui/properties_data_camera.py @@ -186,8 +186,9 @@ class DATA_PT_camera_dof(CameraButtonsPanel, Panel): col = split.column() - col.active = cam.dof_object is None - col.prop(cam, "dof_distance", text="Distance") + sub = col.column() + sub.active = cam.dof_object is None + sub.prop(cam, "dof_distance", text="Distance") col.prop(dof_options, "fstop", text="GPU fstop") |