mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-30 04:57:54 -06:00
Templates: rustfmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
31a2716a19
commit
054d884cdf
@@ -893,10 +893,8 @@ fn save_as(s: &mut Session, p: &Value) -> Result<Value> {
|
||||
manifest["linkedFootage"] = json!(e.skipped);
|
||||
}
|
||||
let t = s.time_of(cid);
|
||||
let mut entries: Vec<(String, Vec<u8>)> = vec![
|
||||
("manifest.json".into(), serde_json::to_vec_pretty(&manifest).unwrap_or_default()),
|
||||
("project.ecproj".into(), proj.to_json().into_bytes()),
|
||||
];
|
||||
let mut entries: Vec<(String, Vec<u8>)> =
|
||||
vec![("manifest.json".into(), serde_json::to_vec_pretty(&manifest).unwrap_or_default()), ("project.ecproj".into(), proj.to_json().into_bytes())];
|
||||
entries.extend(media_entries);
|
||||
if let Ok((w, h, rgba)) = s.render_rgba8(cid, t, 320) {
|
||||
if let Ok(png) = crate::commands::comp_more::encode_png(&rgba, w, h) {
|
||||
|
||||
Reference in New Issue
Block a user