Notifications
Clear all

[Closed] Undo function/uv changes?

Ok, ive been using the following

undo “undoname” (
my code here
)

but since ive changed from modifiers to doing some features using texture vertecies at the edit poly level manually, the undo feature does not work.

Is there a way to store a before and after state that i can use the undo button to go back to before making the changes?

Thanks

5 Replies

I had the same problem and I never found a solution.

Maybe it isn’t possible with maxscript ?
But I hope that somebody will tell us the opposite.

ah that sucks

well the alternate idea is to use hold before doing anything with the uv’s, its better than nothing i guess…

I too have had this problem. One way you can do it, wich I have used, is to put in your own undo button and store the last uv-change in a global value, then use your button to go back to that last state. You could even store several changes in a row in an array or something. Be sure to use try/catch to make it safe.

CML

This is why I use the modifier UNWRAP now.
I stopped making modifications on the uvs directly in the poly.
To delete the modifier is equivalent to an UNDO…

hrmmm, is there anyway to link a before and after state to the maxundo button instead of doing it on my own undo button?

Thanks