Fix wrong function call in Cycles acceleration UI poll.
Thanks to Sergey for spotting this mistake.
This commit is contained in:
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
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue