Canceling a render raises a RuntimeError, so wrapping your render calls in a
try/except (and regex matching the error message if you want to be really
thorough) should let you do that.
-Nathan
-----Original Message-----
From: Gerard Keating
Sent: Wednesday, July 06, 2011 8:09 AM
To: Nuke Python discussion
Subject: [Nuke-python] Is there a callback for a canceling render?
Hi,
I need a callback for when someone cancels a render. Does this exist?
Regards,
Gerard Keating
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python