Hello everybody,
I am currently working with 3ds max callbacks and I noticed a very anoying problem.
When I register my callback like this :
from pymxs import runtime as rt
def ProjFoldChanged():
print("yop")
rt.pcb = ProjFoldChanged
rt.callbacks.addScript(rt.Name('postProjectFolderChange'), "pcb()", id=rt.Name('PostProjectforlderChange'))
And I change my project forlder il max (for this exemple):
The function that I registered to be called, once I change my project folder, is called twice instead of one time like this :
Do you have any suggestions ? Why this is happening ?
Thanks you,
Theo Bourille