Cleanup: Make format
This commit is contained in:
parent
0ecb20df47
commit
d9266853c2
|
@ -123,6 +123,7 @@ def use_optix(context):
|
||||||
|
|
||||||
return (get_device_type(context) == 'OPTIX' and cscene.device == 'GPU' and backend_has_active_gpu(context))
|
return (get_device_type(context) == 'OPTIX' and cscene.device == 'GPU' and backend_has_active_gpu(context))
|
||||||
|
|
||||||
|
|
||||||
def use_oneapi(context):
|
def use_oneapi(context):
|
||||||
cscene = context.scene.cycles
|
cscene = context.scene.cycles
|
||||||
|
|
||||||
|
@ -155,6 +156,7 @@ def get_effective_preview_denoiser(context):
|
||||||
|
|
||||||
return 'OIDN'
|
return 'OIDN'
|
||||||
|
|
||||||
|
|
||||||
def has_oidn_gpu_devices(context):
|
def has_oidn_gpu_devices(context):
|
||||||
return context.preferences.addons[__package__].preferences.has_oidn_gpu_devices()
|
return context.preferences.addons[__package__].preferences.has_oidn_gpu_devices()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue