Skip to content

Commit

Permalink
Warn about a flag combo during PiPL build (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
valadaptive authored Oct 25, 2024
1 parent bbd5f47 commit 74bcf4c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pipl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1597,6 +1597,10 @@ pub fn plugin_build(properties: Vec<Property>) {
}
if x.contains(OutFlags2::SupportsThreadedRendering) {
println!("cargo:rustc-cfg=threaded_rendering");

if !x.contains(OutFlags2::SupportsGetFlattenedSequenceData) {
println!("cargo:warning=Setting the SupportsThreadedRendering flag without the SupportsGetFlattenedSequenceData flag can cause plugins to fail to load in some older versions of After Effects.");
}
}
println!("cargo:rustc-env=PIPL_OUTFLAGS2={}", x.bits());
}
Expand Down

0 comments on commit 74bcf4c

Please sign in to comment.