Hi all
After updating to maya 2017 i found that some script's windows failed to reopen after certain action.
This script refresh it's content via restarting itself with button command similar to following:
proc mywindow()
{
if (`window -exists "aaa"`)
deleteUI -window "aaa";
window "aaa";
scrollLayout scrollLayout;
button -c "mywindow();" asdasd;
showWindow "aaa";
}
mywindow();
This code works on maya 2016 just like expected, but on 2017 sometimes (more like 50/50..) after button pressed window wont reopen.
command window -exists aaa;
still shows that that window is open, but i cannot see it which puzzles me
I know that it's not the best way to make ui, still, I'd rather prefere not to rewrite whole script..
Looking forward to your comments