Cleanup: format
This commit is contained in:
@@ -7,7 +7,7 @@ import bpy
|
||||
import gpu
|
||||
import sys
|
||||
|
||||
# Render with workbench to initialize the GPU backend otherwise it would fail when running in
|
||||
# Render with workbench to initialize the GPU backend otherwise it would fail when running in
|
||||
# background mode as the GPU backend won't be initialized.
|
||||
scene = bpy.context.scene
|
||||
scene.render.resolution_x = 1
|
||||
@@ -21,4 +21,4 @@ print('GPU_RENDERER:' + gpu.platform.renderer_get())
|
||||
print('GPU_VERSION:' + gpu.platform.version_get())
|
||||
print('GPU_DEVICE_TYPE:' + gpu.platform.device_type_get())
|
||||
|
||||
sys.exit(0)
|
||||
sys.exit(0)
|
||||
|
||||
Reference in New Issue
Block a user