Merge branch 'dev/sbourne/save-bugfixes' into 'main'
Add exr outputs to results so they show up in history See merge request lightspeedrtx/lss-ai-tools/comfyui-rtx_remix!34
This commit is contained in:
@@ -183,6 +183,15 @@ class RemixSaveTexture:
|
||||
finally:
|
||||
exr_file.close()
|
||||
|
||||
# Add actual file to outputs
|
||||
results.append(
|
||||
{
|
||||
"filename": file_path.name,
|
||||
"subfolder": sub_directory,
|
||||
"type": "output",
|
||||
}
|
||||
)
|
||||
|
||||
# Create a preview PNG for the UI (browsers can't display EXR)
|
||||
preview_filename = f"_temp_{uuid.uuid4().hex[:8]}_{file_name}_{counter:05}.png"
|
||||
preview_path = Path(folder_paths.get_temp_directory()) / preview_filename
|
||||
|
||||
Reference in New Issue
Block a user