diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-05-04 15:38:02 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-05-04 15:38:02 +0300 |
commit | 9ff91acadbe99b414165ec6604374641001c0a98 (patch) | |
tree | 8a9338aa7673af132b180ff01955d1e203998fd1 /release | |
parent | 73c090fe81fcc6f0966681171377412d0b4d1da4 (diff) |
Follow up to previous commit, remove depth of field from UI in
wireframe/boundbox mode.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 07631f37339..59fc3692e13 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -3022,11 +3022,10 @@ class VIEW3D_PT_view3d_shading(Panel): fx_settings = view.fx_settings - sub = col.column() - sub.active = view.region_3d.view_perspective == 'CAMERA' - sub.prop(fx_settings, "use_dof") - if view.viewport_shade not in {'BOUNDBOX', 'WIREFRAME'}: + sub = col.column() + sub.active = view.region_3d.view_perspective == 'CAMERA' + sub.prop(fx_settings, "use_dof") col.prop(fx_settings, "use_ssao", text="Ambient Occlusion") if fx_settings.use_ssao: ssao_settings = fx_settings.ssao |