Sep
05
Hi , i create simple new panel subclass (inherit from PythonPanel class) with a button, so everytime the button is pressed , it will print current frame. i use : nuke.frame() to get the current frame . All is good until i got this problem: while the panel still open, then i move the frame slider to other frame , then press the button again, the value won’t update!…
so i have to close and reopen the panel to get the correct current frame value. It seems that the nuke.frame() is only executed once when the instance/obj is created, then it won’t get updated until i spawn new instance.
so i have to close and reopen the panel to get the correct current frame value. It seems that the nuke.frame() is only executed once when the instance/obj is created, then it won’t get updated until i spawn new instance.
Anyone can help me?
Thanx.
Post a Comment