diff options
author | Thomas Dinges <blender@dingto.org> | 2022-02-03 11:57:24 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2022-02-03 11:57:24 +0300 |
commit | c379223053e7187e71ff031bb61938edaa3959af (patch) | |
tree | 29a2d9175f4360766ccde4e714ff98f8cf06cf47 /intern/cycles | |
parent | b0847eff2a29b0f2ba3263afc3f367011703df84 (diff) |
Fix wrong function call in Cycles acceleration UI poll.
Thanks to Sergey for spotting this mistake.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |