Undo bug


#1

it’s not easy for me to demonstrate the problem, but did you saw max will be crazy sometimes at undo operations? I think I found a working solution for that:

callbacks.removeScripts id:#undobugfix
callbacks.addScript #preSceneUndo "disablesceneredraw()" id:#undobugfix
callbacks.addScript #sceneUndo "enablesceneredraw();redrawviews()" id:#undobugfix

#2

It’s not safe. I do not recommend doing it this way because of possible unintended flickering. I will partially explain the reason in another thread about SDK UNDO.