diff options
author | Stefan Werner <stefan.werner@tangent-animation.com> | 2018-11-07 22:50:45 +0300 |
---|---|---|
committer | Stefan Werner <stefan.werner@tangent-animation.com> | 2018-11-07 22:50:45 +0300 |
commit | a0d8e52b54ea9c27b47ddf96ff51cc934534d40e (patch) | |
tree | d83d43de0c02cf0da208179c6c418eacb6d12838 /intern | |
parent | 85a97449051a85538d1d8cb10c7efb83a50edf77 (diff) |
Cycles: Fixed BVH UI options enabling/disabling when Embree is enabled.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 44c39c6a650..6372a2f5eba 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -642,8 +642,9 @@ class CYCLES_RENDER_PT_performance_acceleration_structure(CyclesButtonsPanel, Pa row.active = use_cpu(context) row.prop(cscene, "use_bvh_embree") col.prop(cscene, "debug_use_spatial_splits") - col.active = not cscene.use_bvh_embree or not _cycles.with_embree - col.prop(cscene, "debug_use_hair_bvh") + sub = col.column() + sub.active = not cscene.use_bvh_embree or not _cycles.with_embree + sub.prop(cscene, "debug_use_hair_bvh") sub = col.column() sub.active = not cscene.debug_use_spatial_splits and not cscene.use_bvh_embree sub.prop(cscene, "debug_bvh_time_steps") |