Skip to content

Conversation

@cbentejac
Copy link
Contributor

Description

If unexposed attributes (ie. attributes that are located in the lower side of a node, and hidden by default) are connected, they are meant to remain visible even if the lower part of that node is hidden.

This was working fine for any attribute that was not a ListAttribute, as the check was made on whether the attribute's value was a link to another attribute. For ListAttributes, whose value is actually a list of values, this was not working as nested links were not checked.

Instead of relying on the isLink property, we now use isLinkNested: for regular attributes, this is equivalent to using isLink, but for ListAttributes, the full list of values will be checked.

@cbentejac cbentejac added this to the Meshroom 2024.1.0 milestone Oct 23, 2024
@cbentejac cbentejac self-assigned this Oct 23, 2024
@cbentejac cbentejac linked an issue Oct 24, 2024 that may be closed by this pull request
If unexposed attributes (ie. attributes that are located in the lower
side of a node, and hidden by default) are connected, they are meant
to remain visible even if the lower part of that node is hidden.

This was working fine for any attribute that was not a `ListAttribute`,
as the check was made on whether the attribute's value was a link to
another attribute. For `ListAttributes`, whose value is actually a list
of values, this was not working as nested links were not checked.

Instead of relying on the `isLink` property, we now use `isLinkNested`:
for regular attributes, this is equivalent to using `isLink`, but for
`ListAttributes`, the full list of values will be checked.
@fabiencastan
Copy link
Member

We need to have the isLinkNested property on GroupAttributes too.

@fabiencastan fabiencastan merged commit 2a27f4c into develop Nov 29, 2024
3 checks passed
@fabiencastan fabiencastan deleted the fix/unexposedEdges branch November 29, 2024 20:58
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.

[bug] Keyframe selection inputs

3 participants