Refactor to VACE_PIPE: bundle merge metadata into single pipe connection
Replace 3 separate forceInput wires (mode, trim_start, trim_end) plus mask and blend_frames with a single VACE_PIPE dict carrying mode, trim bounds, and context frame counts. SourcePrep outputs reduced from 12 to 7 (segments removed), MergeBack inputs reduced from 9 to 5. Blending now auto-derives from context counts instead of manual blend_frames. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -92,9 +92,7 @@ app.registerExtension({
|
||||
}
|
||||
|
||||
function updateVisibility(method) {
|
||||
const showBlend = method !== "none";
|
||||
const showOf = method === "optical_flow";
|
||||
toggleWidget(node.widgets.find(w => w.name === "blend_frames"), showBlend);
|
||||
toggleWidget(node.widgets.find(w => w.name === "of_preset"), showOf);
|
||||
node.setSize(node.computeSize());
|
||||
app.graph.setDirtyCanvas(true);
|
||||
|
||||
Reference in New Issue
Block a user