mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
make sure the extraction would be skipped if there is empty list of animated_skeleton
This commit is contained in:
parent
3999be09a1
commit
3fdccc886f
1 changed files with 5 additions and 0 deletions
|
|
@ -42,6 +42,11 @@ class ExtractFBXAnimation(publish.Extractor):
|
|||
# Export from the rig's namespace so that the exported
|
||||
# FBX does not include the namespace but preserves the node
|
||||
# names as existing in the rig workfile
|
||||
if not out_members:
|
||||
self.log.debug(
|
||||
"Top group of animated skeleton not found...skipping extraction")
|
||||
return
|
||||
|
||||
namespace = get_namespace(out_members[0])
|
||||
relative_out_members = [
|
||||
strip_namespace(node, namespace) for node in out_members
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue