-
Notifications
You must be signed in to change notification settings - Fork 36
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
Maya: Fix Maya Alembic Extractors #478
Maya: Fix Maya Alembic Extractors #478
Conversation
…codebase and existing instances
…doesn't contain the descendendants + ignore intermediate objects since they would not be exported anyway
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make sense, thanks!
@LiborBatek could you please do a few thorough test runs of publishing animation and pointcache alembics from Maya. Also check whether the output of the publish contains what you think it should, etc. and or whether there aren't any odd warnings/errors logged anywhere. I hit so many odd bugs after #336 that I feel we might need some extra testing on these fixes to ensure they are correct. @tokejepsen The swap from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested successfully in Maya 2023.
Cant see any issues. Thought the |
For completeness sake. It is indeed one of the flags for the Anyway, so we could go either |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Getting error when using Validate Alembic Options Defaults
Traceback (most recent call last):
File "C:\Users\lbate\AppData\Local\Ynput\AYON\dependency_packages\ayon_2402141620_windows.zip\dependencies\pyblish\plugin.py", line 527, in __explicit_process
runner(*args)
File "C:\Work\REPO\ayon-core\client\ayon_core\hosts\maya\plugins\publish\validate_alembic_options_defaults.py", line 48, in process
default_value = settings[key]
KeyError: 'flags'
@BigRoy regarding that aformentioned error message on |
…//github.com/BigRoy/ayon-core into bugfix/maya_validate_alembic_options_default
I've tweaked the validation report:
Perfect. Should be caught now with a warning with commit b4b1e2a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, Im getting error when trying to use Repair
action
...could be because
I have predefined some custom attrib prefixes in the Ayon maya addon settings?! and those arent present in my active workfile on the asset?!
here is scrngrab and copy of the error msg details...
Traceback (most recent call last):
File "C:\Users\lbate\AppData\Local\Ynput\AYON\dependency_packages\ayon_2402141620_windows.zip\dependencies\pyblish\plugin.py", line 527, in __explicit_process
runner(*args)
File "C:\Work\REPO\ayon-core\client\ayon_core\pipeline\publish\publish_plugins.py", line 243, in process
plugin.repair(instance)
File "C:\Work\REPO\ayon-core\client\ayon_core\hosts\maya\plugins\publish\validate_alembic_options_defaults.py", line 107, in repair
create_publish_attributes[cls.plugin_name][key] = settings[key]
KeyError: 'flags'
@BigRoy when the |
Thanks for reporting - I indeed missed it in the repair method. Fixed with bd1f7dc |
Changelog Description
Fix Alembic extractors after PR #336
Additional info
Quick attempt to fix bug:
This same error also occurred with
writeNormals
and the python and mel callbacks.Testing notes: