[Bf-blender-cvs] [a0d8e52b54e] blender2.8: Cycles: Fixed BVH UI options enabling/disabling when Embree is enabled.

Stefan Werner noreply at git.blender.org
Wed Nov 7 20:50:49 CET 2018


Commit: a0d8e52b54ea9c27b47ddf96ff51cc934534d40e
Author: Stefan Werner
Date:   Wed Nov 7 20:50:45 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBa0d8e52b54ea9c27b47ddf96ff51cc934534d40e

Cycles: Fixed BVH UI options enabling/disabling when Embree is enabled.

===================================================================

M	intern/cycles/blender/addon/ui.py

===================================================================

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")



More information about the Bf-blender-cvs mailing list