stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Allow extensions to declare paste fields for "Send to X" buttons

Open space-nuko opened this issue 2 years ago • 0 comments

Describe what this pull request is trying to achieve.

Allows infotext fields added by extensions to be transferred to img2img with the "Send to img2img" button

Closes #7648

Additional notes and description of your changes

The extension script will append to its self.paste_field_params the name of each infotext parameter to send

Environment this was tested in

List the environment you have developed / tested this on. As per the contributing page, changes should be able to work on Windows out of the box.

  • OS: Windows
  • Browser: Chrome
  • Graphics card: NVIDIA RTX 3090

Screenshots or videos of your changes

N/A

space-nuko avatar Feb 14 '23 11:02 space-nuko