Blender Version
Broken: rBdd921238d922
Worked: before rBdd921238d922
Short description of error
This commit rBdd921238d922 breaks Auto Tile Size device detection code.
Exact steps for others to reproduce the error (UPDATED)
- Switch to Cycles render
- In Cycles add-on settings change Cumpute Device from None to CUDA
- In render settings change Device from CPU to GPU Compute
- Activate the Auto Tile Size add-on
- Look into console
Where you'll see this error:
File "C:\Users\Mikhail\Downloads\b\2.78\scripts\addons\render_auto_tile_size.py", line 149, in engine_is_gpu
return engine == 'CYCLES' and device == 'GPU' and userpref.system.compute_device_type != 'NONE'
AttributeError: 'UserPreferencesSystem' object has no attribute 'compute_device_type'