mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix: crop to bbox doubles adjustment filters
This commit is contained in:
committed by
psychedelicious
parent
cc72d8eab4
commit
c661f86b34
@@ -571,7 +571,7 @@ export abstract class CanvasEntityAdapterBase<T extends CanvasEntityState, U ext
|
||||
cropToBbox = async (): Promise<ImageDTO> => {
|
||||
const { rect } = this.manager.stateApi.getBbox();
|
||||
const rasterizeResult = await withResultAsync(() =>
|
||||
this.renderer.rasterize({ rect, replaceObjects: true, attrs: { opacity: 1 } })
|
||||
this.renderer.rasterize({ rect, replaceObjects: true, attrs: { opacity: 1, filters: [] } })
|
||||
);
|
||||
if (rasterizeResult.isErr()) {
|
||||
toast({ status: 'error', title: 'Failed to crop to bbox' });
|
||||
|
||||
Reference in New Issue
Block a user