Fix cycles preferences.get_devices() not returning all devices as before.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 15 Mar 2019 14:26:18 +0000 (15:26 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 15 Mar 2019 15:52:28 +0000 (16:52 +0100)
commit56a8c2a3203482f0fc7437b0cefe2160e27f7fe3
tree7754955691fb1109eb154930db08cd7f9aa41706
parent2f6257fd7fe305e3b226a8b505eb614bbeaf762a
Fix cycles preferences.get_devices() not returning all devices as before.

It only returned those for the active device type. For backwards compatibility
return them all again, but still avoid enumerating them from our own code on
startup or opening preferences.
intern/cycles/blender/addon/properties.py
intern/cycles/blender/addon/version_update.py