Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Node: Do not automatically upgrade unknown nodes in templates #2558

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

cbentejac
Copy link
Contributor

Description

This PR fixes an error that occurred when a template contained a node whose type is unknown.

Since all the templates that present compatibility issues are automatically upgraded, the nodes that triggered the "unknown node type" compatibility issue were upgraded, and the upgrade failed as there was no existing description for that kind of node.

For templates, the upgrade is now only performed if any compatibility issue but the "unknown node type" one exists.

@cbentejac cbentejac added this to the Meshroom 2024.1.0 milestone Oct 4, 2024
@cbentejac cbentejac self-assigned this Oct 4, 2024
@fabiencastan fabiencastan merged commit ea92b72 into develop Oct 16, 2024
3 checks passed
@fabiencastan fabiencastan deleted the fix/unknownNodeTemplate branch October 16, 2024 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants