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] Display an icon on nodes that have viewable 3D outputs #2052

Merged
merged 2 commits into from
Jun 14, 2023

Conversation

cbentejac
Copy link
Contributor

@cbentejac cbentejac commented Jun 13, 2023

Description

This PR follows #2047 and extends the display of the icon for viewable outputs to outputs that are viewable in the 3D Viewer. Any File output that has an extension supported by the 3D Viewer can be loaded.

The distinction between outputs that can be loaded in the 2D Viewer and those that can be loaded in the 3D Viewer is made, and the tooltip that appears when hovering over the icon reflects that. The tooltip message has also been simplified.

The case where a node has both 2D and 3D outputs is handled with a corresponding tooltip message, although there is currently no such node.

@cbentejac cbentejac added the UI label Jun 13, 2023
@cbentejac cbentejac added this to the Meshroom 2023.2.0 milestone Jun 13, 2023
@cbentejac cbentejac self-assigned this Jun 13, 2023
@cbentejac cbentejac marked this pull request as draft June 13, 2023 09:38
@cbentejac cbentejac marked this pull request as ready for review June 13, 2023 10:16
The tooltip that is displayed when hovering over the icon specifies
which loader will be used, depending on the type of output attribute
(either the Image/2D viewer, or the 3D viewer).
@fabiencastan fabiencastan merged commit 73b9ccf into develop Jun 14, 2023
@fabiencastan fabiencastan deleted the dev/imageSemanticIcon3D branch June 14, 2023 16:38
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