mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
docs(ui): update docstrings for helper function
This commit is contained in:
parent
c1aae0815d
commit
0a42d7d510
@ -10,6 +10,8 @@ export const getRegionalPromptLayerBlobs = async (preview: boolean = false): Pro
|
||||
const state = getStore().getState();
|
||||
const stage = $stage.get();
|
||||
assert(stage !== null, 'Stage is null');
|
||||
|
||||
// This automatically omits layers that are not rendered. Rendering is controlled by the layer's `isVisible` flag in redux.
|
||||
const regionalPromptLayers = stage.getLayers().filter((l) => l.name() === REGIONAL_PROMPT_LAYER_NAME);
|
||||
|
||||
// We need to reconstruct each layer to only output the desired data. This logic mirrors the logic in
|
||||
|
Loading…
Reference in New Issue
Block a user