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] ImageGallery: Use commands to set SfM attributes through the Image Gallery #2220

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

cbentejac
Copy link
Contributor

Description

Some attributes of the StructureFromMotion and SfMTransform nodes can be set directly through the Image Gallery with the right-click menu. Prior to this PR, setting these attributes through the Image Gallery was directly modifying them without adding the changes to the stack of commands, meaning they could not be undone.

This PR fixes that by using the "setAttribute" command to modify these attributes, which correctly adds them to the stack and allows to undo them with Ctrl-Z.

…lery

Prior to this commit, the `StructureFromMotion` and `SfMTransform` nodes'
were directly set without using the dedicated command. This meant that
the actions to set those attributes through the Image Gallery menu were
not added to the stack of commands, and could not be undone.
@cbentejac cbentejac added this to the Meshroom 2023.3.0 milestone Oct 11, 2023
@cbentejac cbentejac self-assigned this Oct 11, 2023
@fabiencastan fabiencastan merged commit eba7eda into develop Oct 11, 2023
2 checks passed
@fabiencastan fabiencastan deleted the fix/undoSfmActions branch October 11, 2023 15:11
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