feat(ui): add raster layer rendering and interaction (WIP)

This commit is contained in:
psychedelicious
2024-06-05 21:24:26 +10:00
parent 9e93fa2092
commit d79fafc5f5
10 changed files with 529 additions and 218 deletions

View File

@ -182,7 +182,7 @@ const createSelector = (templates: Templates) =>
if (l.type === 'regional_guidance_layer') {
// Must have a region
if (l.maskObjects.length === 0) {
if (l.objects.length === 0) {
problems.push(i18n.t('parameters.invoke.layer.rgNoRegion'));
}
// Must have at least 1 prompt or IP Adapter