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

AY-6502_Fix Maya dirmap settings #1061

Merged
merged 3 commits into from
Dec 30, 2024

Conversation

BigRoy
Copy link
Collaborator

@BigRoy BigRoy commented Dec 16, 2024

Changelog Description

Remove host name separator in dirmap settings, so that Maya settings maya_dirmap or maya-dirmap is now dirmap inside that host's settings.

Additional info

Only other integration I can see that has dirmapping is Nuke, which uses just dirmap without host prefix - which I suppose would then be broken regardless anyway but I think it uses its own way of remapping paths. It may make more sense to remove the host specific prefix from the label because it's already looking in host specific settings anyway. (However, that'd also need a refactor in ayon-maya then? Plus it would then also suddenly pick up the Nuke one which may have other side effects?

Reported on discord here

Nuke and Maya seems to be the only repos relevant to dirmap.

Fixes ynput/ayon-maya#102

Testing notes:

  1. Dirmap in Maya should work
  2. Dirmap in Nuke (if relevant) should work

Only other integration I can see that has dirmapping is Nuke, which uses just `dirmap` without host prefix - which I suppose would then be broken regardless.
It may make more sense to remove the `host` specific prefix from the label because it's already looking in host specific settings anyway.
@BigRoy BigRoy added the type: bug Something isn't working label Dec 16, 2024
@BigRoy BigRoy self-assigned this Dec 16, 2024
@ynbot ynbot added the size/XS label Dec 16, 2024
@BigRoy BigRoy added the sponsored This is directly sponsored by a client or community member label Dec 16, 2024
@BigRoy BigRoy changed the title Fix Maya dirmap settings AY-6502_Fix Maya dirmap settings Dec 17, 2024
@ynbot
Copy link
Contributor

ynbot commented Dec 17, 2024

Task linked: AY-6502 dirmap not working

Copy link
Member

@moonyuet moonyuet left a comment

Choose a reason for hiding this comment

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

Works in my side along with the look product type.
Also did some simple check with print function on (file_url) to ensure it is working as expected.
image

@BigRoy BigRoy merged commit 7f45726 into ynput:develop Dec 30, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS sponsored This is directly sponsored by a client or community member type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AY-6502_dirmap not working
4 participants