Python undo issue

   2213   0   1
User Avatar
Member
2 posts
Joined: 1月 2015
オフライン
Hi, I am learning programming in houdini, I started with python. I have a call callback script connected with a toogle button in a HDA. It is resposible for create the node,s color when I change the check the toggle button. It just works fine as expected but when I undo, it just changes the color of the node but not revert the toggle button. Inorder to reset the toggle I have to undo it once again.
Technically it will work with a single undo in other softwares. Is there any other workflow that I am missing. Please share your thoughts in it. I have attached the screenshot of the script and I atteached a video that explain about the problem

Thanks

Attachments:
Python Node Color Change undo issue.mp4 (1.1 MB)
Callback_Script.JPG (81.8 KB)

  • Quick Links