callback to mydialog.RegisterEventCallback(mycallback) hang iClone
When I add an event callback for a RLPy.RUi.CreateRDialog() all is fine. But after I load my ui file and set it to the dialog and try show the dialog. iClone hang and you need to force close it.
If you however step the code, using visual studio code, everything works fine. Ex I call RegisterEventCallback, load my UI file and set the dialog up and wait some and then step to show the dialog. Everything works fine.
Sorry. Forgot to return True to allow the close process to continue. All works fine.
The-any-Key
Ok. Seem that it works if I remove:
[CODE]
def OnDialogClose(self):
print("CLOSE!")
[/CODE]
from the callback class. So there is something fishy with the close script.
The-any-Key
Did manage to get the show working (forgot to add the callback class in a global variable)
But it still hang when I close (press the x on the plugin widget)
1
You are going to edit a submitted issue. This issue will be changed to private draft mode until you click submit again. Are you sure?