mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(ui): ignore Konva filters when previewing filter
This commit is contained in:
@@ -70,7 +70,7 @@ export class CanvasFilterModule extends CanvasModuleBase {
|
|||||||
const config = this.$config.get();
|
const config = this.$config.get();
|
||||||
this.log.trace({ config }, 'Previewing filter');
|
this.log.trace({ config }, 'Previewing filter');
|
||||||
const rect = adapter.transformer.getRelativeRect();
|
const rect = adapter.transformer.getRelativeRect();
|
||||||
const imageDTO = await adapter.renderer.rasterize({ rect });
|
const imageDTO = await adapter.renderer.rasterize({ rect, attrs: { filters: [] } });
|
||||||
const nodeId = getPrefixedId('filter_node');
|
const nodeId = getPrefixedId('filter_node');
|
||||||
const batch = this.buildBatchConfig(imageDTO, config, nodeId);
|
const batch = this.buildBatchConfig(imageDTO, config, nodeId);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user