ID 541317 - Transform Soft Effects can remove border pixels when exporting Sequences from Nuke Studio/Hiero

Follow

Problem summary:
Transform Soft Effects can remove border pixels when exporting Sequences from Nuke Studio/Hiero
 
Customer reported version:
Hiero 14.0v4
 
Customer reported platform:
Rocky 8
 
Steps to reproduce:
1) Launch Nuke Studio and navigate to File > Import File(s)... 
2) Import two visually distinct images with the same format, like 1920x1080.
3) Place the Clips on separate Tracks in the Timeline.
4) Add a Transform Soft Effect to the top-most Clip, and enable Blending by clicking the

icon:

5) In the Sequence Viewer, zoom in and observe how the Clip in Track 2 completely obscures the Clip in Track 1:

6) Select both Clips in the Timeline, and then open the Export window with File > Export...
7) Change the Export mode to Process as Sequence and select one of the Local Export Presets, like Log10 Cineon DPX.
8) Click Export, view the resulting file, and observe the one pixel border where the Clip in Track 1 is viewable:

 
Expected behavior:
Exported media should match Nuke Studio/Hiero's Sequence Viewer.
 
Actual behavior:
When Exported as a Sequence, Clips with Transform Soft Effects are one pixel smaller than they appear in the Sequence Viewer. The one pixel border will be black if Track Blending isn't enabled, or if there's no footage below the Clip(s).
 
Workaround:
Nodes are created via the hiero.core.nuke.ScriptWriter class when Exporting from Nuke Studio/Hiero, and this class can be overridden. The process for this is outlined in detail on our Support article here: Q100195: How to customize Nuke script exports from Nuke Studio/Hiero
 
In short, the Reformat node(s) added automatically during the export process are created with black outside being True. Changing this value to False seems to resolve the issue, and can be accomplished by altering the example code's onNodeAdded() function to contain the following:

  def onNodeAdded(self, node):    """ Callback when a node is added. Return the node that should actually be added. """    if node.type() == "Reformat": # The type of node you want to edit      # Make adjustments to all nodes of that type      node.setKnob("black_outside", "False") # This sets the black outside checkbox to false and seems to resolve the issue    return node
 
Reproduced by Support in:
Nuke Studio 14.0v4 - Windows 10, CentOS 7
Nuke Studio 13.0v1 - Windows 10
Nuke Studio 12.0v1 - Windows 10
Nuke Studio 11.0v1 - Windows 10 - Regression
 
Unable to reproduce in:
Nuke Studio 10.0v1 - Windows 10
 
Earliest version tested:
Nuke Studio 10.0v1 - This issue doesn't appear in this version and has regressed 

    We're sorry to hear that

    Please tell us why