From 6a7a55b5176dc0eca26e4feb4396abcaf4c79116 Mon Sep 17 00:00:00 2001 From: Kayla Man Date: Fri, 6 Dec 2024 20:19:59 +0800 Subject: [PATCH] use paste argument for oiio command --- .../plugins/publish/extract_map_as_single_output.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/ayon_substancepainter/plugins/publish/extract_map_as_single_output.py b/client/ayon_substancepainter/plugins/publish/extract_map_as_single_output.py index 21c532a..4eaef60 100644 --- a/client/ayon_substancepainter/plugins/publish/extract_map_as_single_output.py +++ b/client/ayon_substancepainter/plugins/publish/extract_map_as_single_output.py @@ -48,7 +48,9 @@ def convert_texture_maps_as_single_output(staging_dir, source_image_outputs, log.info(f"{source_maps} composited as {dest_map}") oiio_cmd = oiio_tool_args + source_maps + [ - "--over", "-o", + "--paste:mergeroi=1", + "+0+0", + "-o", dest_map ]