Restore Use as input to reload full generation settings.

The earlier change blocked generate stills and skipped prompts/LoRAs/config. Use as input again fills the form from the library item so you can regenerate.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-09-04 00:06:15 -05:00
co-authored by Cursor
parent 249af0b7b8
commit 936da7b5de
2 changed files with 36 additions and 23 deletions
+7 -1
View File
@@ -1058,7 +1058,13 @@ function useInStudio(entry: LibraryEntry) {
return
}
if (entry.stillGroup) {
navigateTo({ path: '/', query: { still: focusedPartId.value || entry.stillGroup.head.id, use: '1', studio: 'video' } })
const stillId = focusedPartId.value || entry.stillGroup.head.id
const still = stills.value.find(item => item.id === stillId) || entry.stillGroup.head
const imageStill = Boolean(still?.settings?.kind === 'imagev2' || still?.settings?.kind === 'image' || still?.settings?.mode)
navigateTo({
path: '/',
query: { still: stillId, use: '1', studio: imageStill ? 'image' : 'video' }
})
}
}