Skip to content

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

Merged
fabiencastan merged 1 commit into
developfrom
fix/unknownNodeTemplate
Oct 16, 2024
Merged

[core] Node: Do not automatically upgrade unknown nodes in templates#2558
fabiencastan merged 1 commit into
developfrom
fix/unknownNodeTemplate

Conversation

@cbentejac

Copy link
Copy Markdown
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 requested a review from fabiencastan October 4, 2024 17:00
@cbentejac cbentejac self-assigned this Oct 4, 2024
@fabiencastan fabiencastan merged commit ea92b72 into develop Oct 16, 2024
@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