Page 1 of 1

improvement suggestion : closing a bypassed transformation

Posted: June 29th, 2024, 11:17 am
by pierrelabreche
PWP incorrectly infers that closing a bypassed transformation will change the downstream images, thus triggers the re-computation of all downstream transformations.

Re: improvement suggestion : closing a bypassed transformation

Posted: June 29th, 2024, 11:20 am
by jsachs
This does not happen when I try it from within the image browser. First click bypass button which causes a recalc of downstream images. Then click close box which does not.

Re: improvement suggestion : closing a bypassed transformation

Posted: June 29th, 2024, 12:06 pm
by pierrelabreche
Screen capture sent by email

Re: improvement suggestion : closing a bypassed transformation

Posted: June 29th, 2024, 1:04 pm
by jsachs
As the warning message indicated, closing this transformation invalidated a mask or input to another transformation and thus a recalc was required.

Re: improvement suggestion : closing a bypassed transformation

Posted: June 29th, 2024, 2:19 pm
by pierrelabreche
I am missing something maybe.

The transformation was already bypassed. Consequently to bypassing, all downstream effects had been computed, presumably.

When closing the bypassed transformation, why would there be other effects ?

Re: improvement suggestion : closing a bypassed transformation

Posted: June 29th, 2024, 2:31 pm
by jsachs
If the output image or a mask of the bypassed transformation was used as a mask or an auxiliary input for some other transformation, deleting it invalidates the mask or input.

Re: improvement suggestion : closing a bypassed transformation

Posted: June 29th, 2024, 11:50 pm
by pierrelabreche
1000021893 (2).jpg
1000021893 (2).jpg (25.42 KiB) Viewed 1495 times
In the case being examined, the Equalize transformation is bypassed. Note that Equalize has no associated mask.

Bypassing the Equalize transformation triggers a complete recalculation downstream.

From thereon, the output of Equalize is not being used downstream, and no downstream mask depends on the output of Equalize ( it is bypassed ).

Moreover, the masks in the Multipass sharpen and Precise Gaussian transformations were created by the Mask paint tool and the mask Blur tool. Both masks are image-independent.

Just before clicking on the close button for the bypassed Equalize transformation, all downstream transformations output images are in their intended final state.

Why would the downstream transformations need to be recalculated?

Re: improvement suggestion : closing a bypassed transformation

Posted: June 30th, 2024, 6:53 am
by jsachs
I was able to reproduce this by adding Precise Gaussian with an initial Amount mask copied from Multipass Sharpen to the workspace you emailed me. Since the initial mask in Precise Gaussian depends on the mask in Multipass Sharpen and Multipass Sharpen depends on Equalize, PWP thinks closing Equalize can affect Precise Gaussian, even though in this case it does not since Equalize is bypassed. Consequently, the close triggers a recalc.

I think I have fixed this but need to do more testing.