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

[ui] Clear Images: Request a graph update after resetting the viewpoints and intrinsics #1929

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

cbentejac
Copy link
Contributor

Description

This PR fixes a bug introduced by #1897, which modified the way images were cleared.

The viewpoints and intrinsics were correctly reset, but not followed by a request to update the graph. This meant that nodes' status was not updated (the cache for the CameraInit should be invalidated and propagated), and the filters in the Image Gallery were not all properly updated (in particular, the "Estimated Cameras" / "Non Estimated Cameras" were not reset.

A request to update the graph is now emitted after each attribute's reset.

@cbentejac cbentejac self-assigned this Mar 13, 2023
@fabiencastan fabiencastan added this to the Meshroom 2023.1.0 milestone Mar 13, 2023
@fabiencastan fabiencastan merged commit 4b6bd34 into develop Mar 13, 2023
@fabiencastan fabiencastan deleted the fix/updateAfterClear branch March 13, 2023 13:30
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