When using the Randomize function in Automation and Expressions and trying to randomize keyframe times, the script first adds and randomizes the keyframes and then starts removing the original keyframes, but it stops half way through - leaving both old original unrandomized and new randomized keyframes. Also at that time the undoGroup is not working for the entire action, undo removes only one keyframe that was placed. as such it is impossible to undo the action if you have more than 20 keyframes that you are trying to apply this to...
To reproduce
select a bunch of keyframes on a single layer and try to randomize their times
Bug Report
Posted from https://rxlaboratory.org
Environment
Report
Description
When using the Randomize function in Automation and Expressions and trying to randomize keyframe times, the script first adds and randomizes the keyframes and then starts removing the original keyframes, but it stops half way through - leaving both old original unrandomized and new randomized keyframes. Also at that time the undoGroup is not working for the entire action, undo removes only one keyframe that was placed. as such it is impossible to undo the action if you have more than 20 keyframes that you are trying to apply this to...
To reproduce
select a bunch of keyframes on a single layer and try to randomize their times