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

Bugfix: Maya Load Vray Proxy fix import #203

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

BigRoy
Copy link
Collaborator

@BigRoy BigRoy commented Mar 19, 2024

Changelog Description

  • Fix refactored import so function call is correct.

Additional info

Otherwise the error is:

During load error happened on Product: "modelMain" Representation: "abc" Version: 29

Error message: name 'ayon_api' is not defined

Traceback (most recent call last):
  File "E:\dev\ayon-core\client\ayon_core\tools\loader\models\actions.py", line 740, in _load_representations_by_loader
    load_with_repre_context(
  File "E:\dev\ayon-core\client\ayon_core\pipeline\load\utils.py", line 323, in load_with_repre_context
    return loader.load(repre_context, name, namespace, options)
  File "E:\dev\ayon-core\client\ayon_core\hosts\maya\plugins\load\load_vrayproxy.py", line 55, in load
    filename = self._get_abc(
  File "E:\dev\ayon-core\client\ayon_core\hosts\maya\plugins\load\load_vrayproxy.py", line 192, in _get_abc
    abc_rep = ayon_api.get_representation_by_name(
NameError: name 'ayon_api' is not defined

Testing notes:

  1. Run Load V-Ray Proxy in Maya

@BigRoy BigRoy requested a review from iLLiCiTiT March 19, 2024 23:13
@ynbot ynbot added the type: bug Something isn't working label Mar 19, 2024
@iLLiCiTiT iLLiCiTiT merged commit 99e2755 into ynput:develop Mar 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
host: Maya size/XS type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants