Revert r50528: "Performance fix for Cycles: Don't wait in the main UI thread when...
authorLukas Toenne <lukas.toenne@googlemail.com>
Mon, 17 Sep 2012 12:07:06 +0000 (12:07 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Mon, 17 Sep 2012 12:07:06 +0000 (12:07 +0000)
commitefaf512406c71606d7f05eca10c74510bd9ebc12
treed42a01041ba165f13ad1b3c42bc118bd3c82b0c3
parentaecb2f7039f0af91bd1eb03a64957bcd532c9408
Revert r50528: "Performance fix for Cycles: Don't wait in the main UI thread when resetting devices."

This commit leads to random freezes in Cycles rendering:
https://projects.blender.org/tracker/index.php?func=detail&aid=32545&group_id=9&atid=498

The goal of this commit was to remove UI lag for OSL, but since that is not officially supported yet, better revert it until a proper fix can be implemented in 2.65.
intern/cycles/blender/blender_session.cpp
intern/cycles/device/device.h
intern/cycles/device/device_cpu.cpp
intern/cycles/device/device_cuda.cpp
intern/cycles/device/device_multi.cpp
intern/cycles/device/device_opencl.cpp
intern/cycles/render/session.cpp
intern/cycles/render/session.h
intern/cycles/util/util_task.cpp