Timeline: Reset keeps an animated property's keyframes and keys the default (#1078)

prop.reset cleared every keyframe before setting the default value. As in
After Effects (and as effect.reset already does for effect parameters), an
animated property now keeps its keyframes and gets the default as a key at
the current time; a static property just takes the default. The expression
is still removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
redonion23
2026-10-12 23:52:44 +02:00
co-authored by Claude Opus 5.5
parent 470ea7a3af
commit a69c7d7cd2
3 changed files with 37 additions and 8 deletions
+3 -2
View File
@@ -566,8 +566,9 @@ Extension points and the bundled extensions: [plugins.md](plugins.md).
(`effectControls.prop.<uid>.value[.<d>]`), it runs `prop.pickWhip`: the reference replaces the
property's expression, or is added as one, and the expression is enabled.
* A property's menu (right-click its name; entries `timeline.prop.<uid>.menu.<entry>`): Reset
(`prop.reset`: no keyframes or expression, and the property's default value, an effect
parameter's or a Transform property's), Edit Value… (`prop.set {layer, prop}` without `value`
(`prop.reset`: no expression, and the property's default value, an effect parameter's or a
Transform property's; an animated property keeps its keyframes and gets the default as a
keyframe at the current time), Edit Value… (`prop.set {layer, prop}` without `value`
opens the value dialog), Separate Dimensions (Position: `prop.separateDimensions {layer,
value}`), Add / Remove Expression (`prop.setExpression {layer, prop}`) and Add Property to
Essential Graphics (`essential.addProperty`).