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

EMSUSD-644 - As a user, I'd like to add a relative payload/ref on a anonymous layer #3370

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

vlasovi
Copy link
Collaborator

@vlasovi vlasovi commented Oct 6, 2023

This also fixes [EMSUSD-634] - Error when attempting to add a Maya Reference.

const PostponedRelativePaths::iterator& layerEntry,
const std::string& anchorDirStr)
{
for (const SdfPrimSpecHandle& child : primSpec->GetNameChildren()) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: does this only return child prim spec that are in the same layer or can it return prim spec from other layers? What about references? Can it traverse references?

IDK, for example, what happens if the user adds a payload to a prim that only lives in a reference? Will it be found?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mmm, we're only trying to update things that are inside the layer that just got saved. So I guess my question is irrelevant.

Copy link
Collaborator

@pierrebai-adsk pierrebai-adsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I think my question is not relevant but I'll leave it there.

@vlasovi vlasovi added the ready-for-merge Development process is finished, PR is ready for merge label Oct 6, 2023
@seando-adsk seando-adsk added the workflows Related to in-context workflows label Oct 11, 2023
@seando-adsk seando-adsk merged commit a53e456 into dev Oct 11, 2023
13 of 14 checks passed
@seando-adsk seando-adsk deleted the vlasovi/EMSUSD-644 branch October 11, 2023 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge workflows Related to in-context workflows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants