InvokeAI/invokeai
psychedelicious bf116927e1 feat(ui): clear features if image used by them is deleted
This handles the case when an image is deleted but is still in use in as eg an init image on canvas, or a control image. If we just delete the image, canvas/controlnet/etc may break (the image would just fail to load).

When an image is deleted, the app checks to see if it is in use in:
- Image to Image
- ControlNet
- Unified Canvas
- Node Editor

The delete dialog will always open if the image is in use anywhere, and the user is advised that deleting the image will reset the feature(s).

Even if the user has ticked the box to not confirm on delete, the dialog will still show if the image is in use somewhere.
2023-06-06 14:35:07 +10:00
..
app Merge branch 'main' into lstein/config-management-fixes 2023-06-04 18:17:43 -04:00
assets Various fixes 2023-01-30 18:42:17 -05:00
backend Merge branch 'main' into lstein/config-management-fixes 2023-06-04 18:17:43 -04:00
configs support both epsilon and v-prediction v2 inference 2023-03-05 22:51:40 -05:00
frontend feat(ui): clear features if image used by them is deleted 2023-06-06 14:35:07 +10:00
version fix issue with invokeai.version 2023-03-03 01:34:38 -05:00
__init__.py Various fixes 2023-01-30 18:42:17 -05:00
README CODEOWNERS coarse draft 2023-03-03 14:36:43 -05:00

Organization of the source tree:

app -- Home of nodes invocations and services
assets -- Images and other data files used by InvokeAI
backend -- Non-user facing libraries, including the rendering
	core.
configs -- Configuration files used at install and run times
frontend -- User-facing scripts, including the CLI and the WebUI
version -- Current InvokeAI version string, stored
	in version/invokeai_version.py