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