Repository navigation
Scripting: Property.keyInSpatialTangent / keyOutSpatialTangent under their AE names - #10
Merged
bflatastic merged 1 commit intoOct 5, 2026
Conversation
…their AE names The getters were registered as keySpatialInTangent / keySpatialOutTangent, so scripts using the documented After Effects names failed with "TypeError: not a callable function" (setSpatialTangentsAtKey and the other keySpatial* methods already use AE's names). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
|
Thanks @storybored379! Reviewed, tested on current main (with the other open fixes) and merged. Clear write-up and a regression test — much appreciated. Come say hi on Discord: https://discord.gg/artcraft |
This was referenced Oct 11, 2026
eliasx45
pushed a commit
to eliasx45/effectcraft
that referenced
this pull request
Oct 11, 2026
…dit storytold#10) pooled_texture (split 3D views, the locked viewer) keyed its frames with freeze_preview_revision (freeze generation + loaded font faces), a different counter from the main viewer's session.revision. The frame queue drops jobs of older revisions, so each extra-view request dropped the main viewer's and playback's queued prefetch (or the other way round). It now uses session.revision like frame_series, with the freeze epoch in the content memo (content_of_preview). Tests run: cargo test -p effectcraft-ui-egui --lib extra_view_frames (new panels::viewer::tests::extra_view_frames_do_not_drop_the_main_viewers_prefetch: failed before, 2 of 4 frames left in flight; passes after); clippy -D warnings on effectcraft-ui-egui --all-targets.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The spatial tangent getters were registered as
keySpatialInTangent/keySpatialOutTangent, soscripts using the documented After Effects names (
keyInSpatialTangent/keyOutSpatialTangent)failed with
TypeError: not a callable function.setSpatialTangentsAtKeyand the otherkeySpatial*methods already use AE's names.What changed
The two getters in
prelude.jsare registered under the documented names.How it was found and tested
effectcraft-cli mcp).spatial_tangents_round_trip(set tangents, read them back) fails on currentmainwithout the fix and passes with it.cargo test -p effectcraft-script,cargo clippy -p effectcraft-script --all-targets(no newwarnings),
cargo fmt --checkon the touched file,cargo xtask layers,cargo xtask wasm.crates/script/src/prelude.js,crates/script/src/tests.rsFound and fixed with Claude Code (AI-assisted).
🤖 Generated with Claude Code