Fix wrong function call in Cycles acceleration UI poll.

Thanks to Sergey for spotting this mistake.
This commit is contained in:
Thomas Dinges 2022-02-03 09:57:24 +01:00
parent b0847eff2a
commit c379223053
Notes: blender-bot 2023-02-14 06:49:57 +01:00
Referenced by issue #95289, Python Errors in the console when rendering with Cuda or Optix
1 changed files with 1 additions and 1 deletions

View File

@ -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