Commit: c379223053e7187e71ff031bb61938edaa3959af
Author: Thomas Dinges
Date:   Thu Feb 3 09:57:24 2022 +0100
Branches: blender-v3.1-release
https://developer.blender.org/rBc379223053e7187e71ff031bb61938edaa3959af

Fix wrong function call in Cycles acceleration UI poll.

Thanks to Sergey for spotting this mistake.

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

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

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

diff --git a/intern/cycles/blender/addon/ui.py 
b/intern/cycles/blender/addon/ui.py
index aa5f6740933..e4b2fef87c3 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -669,7 +669,7 @@ class 
CYCLES_RENDER_PT_performance_acceleration_structure(CyclesButtonsPanel, Pa
 
     @classmethod
     def poll(cls, context):
-        return not use_optix(context) or has_multi_device(context)
+        return not use_optix(context) or use_multi_device(context)
 
     def draw(self, context):
         import _cycles

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to