user interface : unexpected order of processing in batch with splitter

Moderator: jsachs

Post Reply
pierrelabreche
Posts: 638
Joined: January 29th, 2019, 11:47 pm
What is the make/model of your primary camera?: Nikon Z8

user interface : unexpected order of processing in batch with splitter

Post by pierrelabreche »

See attached screenshot and workspace script

Observation
Branches can be executed right-to-left, as evidenced by the occurence of breakpoints. The first observed breakpoint occurs in the right branch.

Expectation
The breakpoint in the left branch is expected to occur before the breakpoint in the right branch ( per the usual left-to-right reading convention )
Attachments
2025-03-28  PWP8.0.490 unexpected branch order.jpg
2025-03-28 PWP8.0.490 unexpected branch order.jpg (115.24 KiB) Viewed 271 times
Script-with-splitter.workspace.txt
(5.9 KiB) Downloaded 5 times
jsachs
Posts: 4588
Joined: January 22nd, 2009, 11:03 pm

Re: user interface : unexpected order of processing in batch with splitter

Post by jsachs »

The order of execution is based solely on the rule that all transformations a transformation depends on must first be recalculated -- otherwise the order (left/right/above/below) does not matter.
Jonathan Sachs
Digital Light & Color
pierrelabreche
Posts: 638
Joined: January 29th, 2019, 11:47 pm
What is the make/model of your primary camera?: Nikon Z8

Re: user interface : unexpected order of processing in batch with splitter

Post by pierrelabreche »

Would it be possible to sort the transformations, such that when a choice of execution order exists, leftmost transformations would be processed first ?
jsachs
Posts: 4588
Joined: January 22nd, 2009, 11:03 pm

Re: user interface : unexpected order of processing in batch with splitter

Post by jsachs »

Of course, but it would be a total rewrite of some complicated code. I don't really see the point.
Jonathan Sachs
Digital Light & Color
pierrelabreche
Posts: 638
Joined: January 29th, 2019, 11:47 pm
What is the make/model of your primary camera?: Nikon Z8

Re: user interface : unexpected order of processing in batch with splitter

Post by pierrelabreche »

The point is not that a big deal now.

The two breakpoints are on a warp transformation.

I was confused by the first breakpoint occuring on the right branch, which I had not noticed since my attention was on the transformation dialog box. I thought there was some sort of corruption in the software as I had not realized that the right branch was where the first breakpoint occured.

It took me a few retrials to realise what was happening.
Post Reply