Hello guys, this is my first post around here, even though I’ve been following for a couple months now.
I’ve been encountering a issue in python scripting in general and that is the reload of the script in pre render operations.
I have a script that is called renderOperations.py inside the maya scripts folder and in the Post Translate Python Script I have:
The weird thing is that when I first render the scene, it doesn’t run the operations it should run, only at the second attempt. I discovered around the web that the reload function seems to be a bit buggy, because some people have the same issue.
Any idea what might cause this? The operations on the script are simple: mesh smooth before render, remove it after.
Thanks in advance