Merge pull request #1043 from vbasky/fix/1000-sampleimage-footage
# Conflicts: # crates/script/src/tests.rs
This commit is contained in:
@@ -479,6 +479,9 @@ fn value(s: &Session, a: &J) -> R {
|
||||
} else {
|
||||
let mut ctx = EvalCtx::new(&s.project, cid, c, t);
|
||||
ctx.expr = s.expr.as_deref();
|
||||
// Sample expressions (`sampleImage`) read footage through the session's source; without
|
||||
// it footage layers sample as transparent (#1000).
|
||||
ctx.footage = Some(s.footage.as_ref());
|
||||
ctx.value(l, p)
|
||||
};
|
||||
Ok(js_value(c, &v))
|
||||
|
||||
Reference in New Issue
Block a user