adrianeddy / after-effects Goto Github PK
View Code? Open in Web Editor NEWThis project forked from virtualritz/after-effects
High(er) level Rust bindings for the Adobe After Effects® SDK
This project forked from virtualritz/after-effects
High(er) level Rust bindings for the Adobe After Effects® SDK
I have some code which updates whether parameters are disabled during the UPDATE_PARAMS_UI
callback. The natural way to do this is to loop over the parameters in the passed Parameters
struct and call set_ui_flags
on them. However, this causes a crash.
The parameters passed in, at least for this callback, should be considered read-only and must be cloned before being modified. I'm not sure if this applies to all parameters in all callbacks or just certain ones, or if this applies to all parameter properties or just the UI flags. The API should enforce this.
It appears that the API zero-initializes PF_ParamDef
s, which means that a CheckBoxDef
's nameptr
is null by default.
After Effects doesn't like this, and will give a hard-to-debug "the plugin failed to initialize" error if you don't explicitly set the checkbox's label.
One way to fix this would be to initialize nameptr
to point to an empty string, but that'd require separating out the initialization code for each type of parameter.
Right now, there's code to catch panics and display them as error dialogs, but it only runs in debug mode. Is there a significant performance or binary size cost to enabling this in release mode as well? There are many benefits of doing so:
Right now, it seems like every package gets compiled at once, which results in rust-analyzer cargo check
ing every single example, and generating a dozen lockfiles which I have to stash every time I switch branches. Using Cargo workspaces to separate things out would help avoid this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.