diff --git a/client/ayon_usd/plugins/publish/integrate_usd_output_processor_remap_relative.py b/client/ayon_usd/plugins/publish/integrate_usd_output_processor_remap_relative.py index 8ceba39..5aba6d8 100644 --- a/client/ayon_usd/plugins/publish/integrate_usd_output_processor_remap_relative.py +++ b/client/ayon_usd/plugins/publish/integrate_usd_output_processor_remap_relative.py @@ -62,6 +62,8 @@ def process(self, instance): ext=representation.get("ext") ) published_path_root = os.path.dirname(published_path) + self.log.debug( + f"Making USD paths relative to {published_path_root}") # Process all files of the representation staging_dir: str = representation.get( @@ -72,7 +74,7 @@ def process(self, instance): if isinstance(filenames, str): # Single file is stored as `str` in `instance.data["files"]` filenames = [filenames] - + filenames: "list[str]" for filename in filenames: path = os.path.join(staging_dir, filename)