sibarrick Posted October 18, 2007 Share Posted October 18, 2007 Does anyone know if there is a way to registry parameter changes into the undo system. I'm using an initialise button to stick values into parameters in my sop but if I then use crtl Z to undo nothing happens. I assume therefore I need to tell houdini prior to my parameter changes that the user might need to undo them??? Quote Link to comment Share on other sites More sharing options...
edward Posted October 18, 2007 Share Posted October 18, 2007 In your callback function, add a new variable: UT_AutoUndoblock u("My Undo Label", ANYLEVEL); Then set your parameters within the same scope. Make sure you're setting them using the OP_Parameter::set*() functions. Quote Link to comment Share on other sites More sharing options...
sibarrick Posted October 19, 2007 Author Share Posted October 19, 2007 Cool! it works. So easy Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.