Cleanup: Make format

This commit is contained in:
Hans Goudey 2024-02-06 12:42:26 -05:00
parent 0ecb20df47
commit d9266853c2
1 changed files with 2 additions and 0 deletions

View File

@ -123,6 +123,7 @@ def use_optix(context):
return (get_device_type(context) == 'OPTIX' and cscene.device == 'GPU' and backend_has_active_gpu(context))
def use_oneapi(context):
cscene = context.scene.cycles
@ -155,6 +156,7 @@ def get_effective_preview_denoiser(context):
return 'OIDN'
def has_oidn_gpu_devices(context):
return context.preferences.addons[__package__].preferences.has_oidn_gpu_devices()