Skip to content

Conversation

@cbentejac
Copy link
Contributor

Description

This PR adds an --output argument to Meshroom's command line. By using this argument and providing one or more output paths, Meshroom initializes a pipeline using a template and includes its CopyFiles nodes (if it has any). Previously, CopyFiles nodes were automatically excluded from the pipeline initialization.

This fixes #2934.

Features list

  • Add a new newWithCopyOutputs slot that initializes a project from a template and includes the template's CopyFiles nodes.
  • Add a new "--output" option to the command line for Meshroom that allows to initialize a project with provided values for the CopyFiles nodes.

Implementation remarks

The newWithCopyOutputs is created as such to be able to initialize a project from a template seemlessly with the error report (through _loadWithErrorReport). This prevents modifying the API to include a copyOutputs boolean that would have to be added everywhere, including in cases where we want to perform a load() rather than a new().

To use `_loadWithErrorReport` without breaking it, a new slot that uses
`initFromTemplate` with `copyOutputs=True` instead of `copyOutputs=False`
(the default value) is added.
@codecov
Copy link

codecov bot commented Dec 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.82%. Comparing base (6d03825) to head (3876631).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2949   +/-   ##
========================================
  Coverage    80.82%   80.82%           
========================================
  Files           59       59           
  Lines         7844     7844           
========================================
  Hits          6340     6340           
  Misses        1504     1504           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] "Publish"-Node is lost

2 participants