virtualritz / after-effects

High(er) level Rust bindings for the Adobe After Effects® SDK
42 stars 5 forks source link

PIPL Version #45

Open virtualritz opened 8 months ago

virtualritz commented 8 months ago

Just recording an undocumented tidbit from the Ae SDK list here:

The Pipl file effect version has to match PF_VERSION returned value otherwise you are limited to Max 7 for MAJOR_VERSION

out_data->my_version = PF_VERSION(    MAJOR_VERSION,
MINOR_VERSION,
BUG_VERSION,
STAGE_VERSION,
BUILD_VERSION);    

Good thing to know for new plugins... as it has a limited purpose , plugin who currently somehow use VERSION defines for other things, can work around this with extra defines (locking MAJOR to 7 and shifting MAJOR to MINOR)...