diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-07-23 18:05:35 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-07-23 18:05:35 +0400 |
commit | 1134ca74207c7a329f190cc0230457e448db666e (patch) | |
tree | c67603fb305c87c49fd5be2d550d8a8ffefebae6 /release/scripts/startup/bl_ui/space_userpref.py | |
parent | 17021171f1b544aaa89d4776736255d8753e239c (diff) |
Fix T41157
Was an issue with python interpretation error. Second part of the bug is
fixed by Campbell.
also minor UI tweak for occlusion UI.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_userpref.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index bbcd541d265..b325e8c9759 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -417,11 +417,11 @@ class USERPREF_PT_system(Panel): col.prop(system, "use_gpu_mipmap") col.prop(system, "use_16bit_textures") - col.separator() - col.label(text="Selection") - sub = col.column() - sub.active = system.is_occlusion_query_supported() - sub.prop(system, "select_method", text="") + + if system.is_occlusion_query_supported(): + col.separator() + col.label(text="Selection") + col.prop(system, "select_method", text="") col.separator() |