Skip to content

Commit

Permalink
use gpu fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Norman Ponte committed Mar 12, 2021
1 parent b29bc9f commit a9344b1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion zpy/blender.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def use_gpu(device_type='CUDA', use_cpus=True) -> None:
device.use = use_cpus
else:
device.use = True
activated_gpus.append(device.name)

cycles_preferences.compute_device_type = device_type
bpy.context.scene.cycles.device = "GPU"
Expand Down

0 comments on commit a9344b1

Please sign in to comment.