Files
ComfyUI_frontend/src
AustinMroz 7b213f135e Fix copying from multi-outputs with clipspace (#6210)
`copyToClipspace` sets the `paintedIndex` and `combinedIndex` regardless
of if any editing was actually performed on the image. Previously, they
were set to be simple increments above the currently selected image.

When attempting to copy from a node previewing multiple images, these
indexes may refer to images that already exist.
This is resolved by instead setting the indexes to be used for
paintedIndex and combinedIndex to always be beyond the range of current
images.
<img width="998" height="761" alt="image"
src="https://github.com/user-attachments/assets/dacd46b3-9029-45e3-a6b3-07e971125a14"
/>


Resolves #6202

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-6210-Fix-copying-from-multi-outputs-with-clipspace-2956d73d365081c5a07be4ddb0b352a3)
by [Unito](https://www.unito.io)
2025-10-22 18:00:02 -07:00
..
2025-10-16 18:12:09 -07:00
2025-10-23 00:06:37 +00:00
2025-10-18 20:21:30 -07:00
2025-10-22 15:42:41 -07:00
2025-10-08 19:39:14 -07:00
2024-09-25 16:01:50 +09:00
2025-10-23 00:06:37 +00:00
2025-08-13 11:46:03 -07:00