Wednesday, June 17, 2015

Maya: Restore busy cursor

A small annoying thing with maya, especially with arnold renderer is that if you start a render and cancel, the cursor won't come back to its normal stage from the busy mode. It keep showing the spinning wheel or what ever the display settings are set to.

It is hard to work with that cursor. This two lines of code should fix that issue.

import PySide
PySide.QtGui.QApplication.restoreOverrideCursor()

Wednesday, June 3, 2015