On 18/01/2016 at 14:14, xxxxxxxx wrote:
Hello all,
I have a plugin that acts on a scene according to the arguments given in the command line, but I notice that trying to call c4d.CallButton(bakeTag, c4d.BAKETEXTURE_BAKE) causes it to hang and, well, think about it until I end the process. Is there a way to simulate c4d.CallButton() with -nogui, or is that a -no go? :)
Thanks!
Edit: This might be a really dumb question, I realize ^^
2nd: Thought it might be a threading issue, so I went:
if c4d.threading.GeIsMainThread() :
c4d.CallButton(bakeTag, c4d.BAKETEXTURE_BAKE)
in desperation, but :shrug: