I’m running scripts from home which are located on server.
I connect to server over VPN, then I import module from network path and run application.
I have few of lines like this in every refresh of user interface:
menuItem(“Select used controls”, command=Callback(self.selectControls, poseName))
These lines run instantly (making of UI element) if I run application from PC inside network (not VPN), however
if I run these lines from VPN they take about 0.1s each to process.
If I comment these lines out or just remove command flag refresh of UI is instant.
-
Does these pymel Callback lines actually save data on server? I presume that lag is because of waiting for server response.
-
Can I somehow avoid these Callbacks and call directly function from command flag with argument?
I run scripts directly from network because it’s pretty simple so everyone gets updated scripts instantly, I could probably copy these scripts locally every time if there is new version, but I rather not do that.
Thanks for ideas!