From e01fe134e998b938b8d0799edba34873ec2c5120 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Sun, 18 Oct 2026 01:23:17 +0700 Subject: [PATCH] Save for Web: the undecoded-image warning comes from the shared helper --- crates/engine/src/cmd/webexport.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/engine/src/cmd/webexport.rs b/crates/engine/src/cmd/webexport.rs index 30b4fd998..a2e854ac9 100644 --- a/crates/engine/src/cmd/webexport.rs +++ b/crates/engine/src/cmd/webexport.rs @@ -1000,7 +1000,7 @@ fn export(s: &mut Session, p: &Value) -> Result { /// the note the raster exports add (`fileio::encode::encode_all_of`) when an image has failed to /// decode since then and so is missing from the image. fn undecoded(failed: u64) -> Vec<&'static str> { - if vectorcraft_render::decode_failures() > failed { vec!["an image couldn't be decoded and is missing from the picture"] } else { vec![] } + super::rasterfx::undecoded_warning(failed).into_iter().collect() } fn preview(s: &mut Session, p: &Value) -> Result {