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

Render: Rename renderlayer does not update render product name #177

Open
1 task done
BigRoy opened this issue Nov 13, 2024 · 0 comments
Open
1 task done

Render: Rename renderlayer does not update render product name #177

BigRoy opened this issue Nov 13, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@BigRoy
Copy link
Contributor

BigRoy commented Nov 13, 2024

Is there an existing issue for this?

  • I have searched the existing issues and added correct labels.

Description

Current Behavior

In the render workflow the render instances are based on the renderlayers and their names, so that Main renderlayer for example become renderLightingMain. However, after the instance has been saved once, renaming the renderlayer does not rename the instance's product.

Expected Behavior

The instance's variant should update along with the renderlayer's name on renderlayer rename. Similarly, changing the variant on the instance itself should preferably rename the renderlayer too.

There is a caveat though, if those are always 100% linked to each other and can never be deviated on purpose by the user then it'd be impossible to render the same 'variant' from one scene to different folder paths (if that's even a sensible use case of course is up for discussion, but it's good to know that you can't have renderlayers with the same name; hence can't target the same render product twice even if targeting to different folders from one workfile)

Steps To Reproduce:

  1. Create a render product (and renderlayer)
  2. In publisher UI press "Save"
  3. Rename the renderlayer in Maya
  4. Reset the publisher UI
  5. The instance is still named using the original layer name.

(Note that if you skip point 2. then it would've still worked, because it works up until the instance actually exists in the scene, which happens on saving of the create context)

Additional context:

Version

  • ayon-maya 0.4.1

Relevant log output:

@BigRoy BigRoy added the type: bug Something isn't working label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant