Hi Ivan, I reproduced the issue where presets applied through a shortcut retain keyframe timing and values, but Hold and Bezier interpolation can come back as Linear.
A possible workaround is to make preset application a two-stage operation:
- Apply the preset normally.
- Enumerate the affected component properties and their newly created keyframes using Premiere’s scripting API.
- Restore each keyframe’s interpolation with
setInterpolationTypeAtKey().
The interpolation information should be retained while the preset is indexed. After application, effects can be matched using their matchName, while properties can be matched by name and index. When the applied preset has been stretched or trimmed, keyframes can be paired by their normalized position between the first and last keyframe instead of relying only on exact times.
For testing, the interpolation values I observed were:
0 — Linear
4 — Hold
5 — Bezier
Updating the UI only on the final keyframe also makes the restoration considerably faster.
This approach leaves the existing preset application process unchanged and only performs a corrective interpolation pass afterward.
I don't know if that can help with the issue so many have, or if you have something in mind for excalibur II!