From c379223053e7187e71ff031bb61938edaa3959af Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Thu, 3 Feb 2022 09:57:24 +0100 Subject: Fix wrong function call in Cycles acceleration UI poll. Thanks to Sergey for spotting this mistake. --- intern/cycles/blender/addon/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern') 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 -- cgit v1.2.3