mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-12 16:08:54 +08:00
Bug fix
This commit is contained in:
@@ -516,6 +516,7 @@ pub fn export_script(
|
||||
}
|
||||
return Ok(types::ScriptResult::Ok);
|
||||
}
|
||||
#[cfg(feature = "image")]
|
||||
if script.is_image() {
|
||||
let img_data = script.export_image()?;
|
||||
let out_type = arg.image_type.unwrap_or(types::ImageOutputType::Png);
|
||||
|
||||
Reference in New Issue
Block a user