Revert Cached Blend Area

This commit is contained in:
Dariusz L
2025-08-03 18:20:41 +02:00
parent 82c42f99fe
commit 012368c52b
5 changed files with 114 additions and 243 deletions

View File

@@ -286,9 +286,6 @@ If you see dark images or masks in the output, make sure node_id is set to ${cor
const preparedLayers = await Promise.all(this.canvas.layers.map(async (layer, index) => {
const newLayer = { ...layer, imageId: layer.imageId || '' };
delete newLayer.image;
// Remove cache properties that cannot be serialized for the worker
delete newLayer.blendedImageCache;
delete newLayer.blendedImageDirty;
if (layer.image instanceof HTMLImageElement) {
if (layer.imageId) {
newLayer.imageId = layer.imageId;