Skip to content

Conversation

@yannci
Copy link
Contributor

@yannci yannci commented Jun 13, 2023

When reading a link at a location the determination if time is added to the linkAttributeData was solely based on the connection of the time plug. In case the time plug of the scene shape is not connected to maya's global time output, we assumed a time remapping to happen.

This leads to adding the current time to the linkAttributeData if the location is an expanded child location, because we connect the out time of a scene shape to it's childs in time on expansion, which breaks this assumption.

We address this issue by traversing the time plug's connection chain and check if the plug is connected to any scene shape or maya's global time

Checklist

  • I have read the contribution guidelines.
  • I have updated the documentation, if applicable.
  • I have tested my change(s) in the test suite, and added new test cases where necessary.
  • My code follows the Cortex project's prevailing coding style and conventions.

When reading a link at a location the determination if time is added
to the `linkAttributeData` was solely based on the connection of the
time plug. In case the time plug of the scene shape is not connected to
maya's global time output, we assumed a time remapping to happen.

This leads to adding the current time to the `linkAttributeData` if
the location is an expanded child location, because we connect the
out time of a scene shape to it's childs in time on expansion, which
breaks this assumption.

We address this issue by traversing the time plug's connection chain
and check if the plug is connected to any scene shape or maya's global time
@ivanimanishi ivanimanishi merged commit 645382c into ImageEngine:RB-10.4 Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants