From 74bcf4c6f9b079a377a8c04be69904673e9ac11d Mon Sep 17 00:00:00 2001 From: valadaptive <79560998+valadaptive@users.noreply.github.com> Date: Fri, 25 Oct 2024 10:01:51 -0400 Subject: [PATCH] Warn about a flag combo during PiPL build (#66) --- pipl/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pipl/src/lib.rs b/pipl/src/lib.rs index d2f36b7..731559c 100644 --- a/pipl/src/lib.rs +++ b/pipl/src/lib.rs @@ -1597,6 +1597,10 @@ pub fn plugin_build(properties: Vec) { } 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()); }