-
Notifications
You must be signed in to change notification settings - Fork 7
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
UnrealAlembicPointCacheLoader/SkeletalMeshLoader: Align the loaded frame range to db #32
UnrealAlembicPointCacheLoader/SkeletalMeshLoader: Align the loaded frame range to db #32
Conversation
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.
@moonyuet its maybe worth noting that also that |
This can be implemented along with #4 |
@antirotor I would like to ask if we are all on the same page that every single |
just to note that it is sitll malfunctioning when trying to load |
It should be fixed along with this PR. |
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.
@LiborBatek Would you mind to re-test again with setting version to see if it will import the assets with correct frame range? Thanks! |
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.
When using Ayon>Load
it correctly create exclusive folder for each version
and all having correct frame range
but when trying to Ayon>Manage>Set Version
it fails with following error:
on: Error: Traceback (most recent call last):
LogPython: Error: File "C:\Work\REPO\ayon-core\client\ayon_core\tools\sceneinventory\view.py", line 366, in <lambda>
LogPython: Error: lambda: self._show_version_dialog(item_ids, active_repre_id)
LogPython: Error: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
LogPython: Error: File "C:\Work\REPO\ayon-core\client\ayon_core\tools\sceneinventory\view.py", line 843, in _show_version_dialog
LogPython: Error: self._update_containers_to_version(
LogPython: Error: File "C:\Work\REPO\ayon-core\client\ayon_core\tools\sceneinventory\view.py", line 1032, in _update_containers_to_version
LogPython: Error: self._update_containers(item_ids, versions)
LogPython: Error: File "C:\Work\REPO\ayon-core\client\ayon_core\tools\sceneinventory\view.py", line 1007, in _update_containers
LogPython: Error: update_container(container, item_version)
LogPython: Error: File "C:\Work\REPO\ayon-core\client\ayon_core\pipeline\load\utils.py", line 539, in update_container
LogPython: Error: return Loader().update(container, context)
LogPython: Error: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
LogPython: Error: File "c:\Work\REPO\ayon-unreal\client\ayon_unreal\plugins\load\load_alembic_animation.py", line 187, in update
LogPython: Error: task = self.get_task(
LogPython: Error: ^^^^^^^^^^^^^^
LogPython: Error: File "c:\Work\REPO\ayon-unreal\client\ayon_unreal\plugins\load\load_alembic_animation.py", line 64, in get_task
LogPython: Error: options.sampling_settings.frame_start = loaded_options.get("frameStart")
LogPython: Error: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
LogPython: Error: TypeError: AbcSamplingSettings: Failed to convert type 'str' to property 'FrameStart' (IntProperty) for attribute 'frame_start' on 'AbcSamplingSettings'
TypeError: NativizeProperty: Cannot nativize 'str' as 'FrameStart' (IntProperty)
TypeError: Nativize: Cannot nativize 'str' as 'int32'
… of https://github.com/ynput/ayon-unreal into bugfix/align_alembic_skeletal_loader_frame_range_to_db
@moonyuet Im getting error when trying just to load the
|
i guess it could be because the merge of too much PRs. fixed in b75c73f |
now it works again with
|
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.
Now all working well!
I have tested both skeletonMesh
and skeletalAnim
aka pointcacheAnim and was able to load with correct frame range, manage >set version and finally remove any version without issues...
sml note (not related to this PR?) : speaking of pointcache animation it still imports into different locations (../assets/) then shot context, but I guess its not in the scope of this PR so can be merged anyway
Changelog Description
Resolve #24 and also align to load skeletalmesh according to db.
Additional info
n/a
Testing notes:
Import Alembic Point Cache
andImport Alembic Skeletal Mesh