mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
remove animated_rig instance data in rig family
This commit is contained in:
parent
1e7c544e90
commit
5a4ef31f4e
2 changed files with 0 additions and 9 deletions
|
|
@ -11,7 +11,6 @@ class ValidateSkeletonRigContents(pyblish.api.InstancePlugin):
|
|||
"""Ensure skeleton rigs contains pipeline-critical content
|
||||
|
||||
The rigs optionally contain at least two object sets:
|
||||
"skeletonAnim_SET" - Set of only bone hierarchies
|
||||
"skeletonMesh_SET" - Set of the skinned meshes
|
||||
with bone hierarchies
|
||||
|
||||
|
|
@ -23,7 +22,6 @@ class ValidateSkeletonRigContents(pyblish.api.InstancePlugin):
|
|||
families = ["rig.fbx"]
|
||||
|
||||
accepted_output = ["mesh", "transform", "locator"]
|
||||
accepted_controllers = ["transform", "locator"]
|
||||
|
||||
def process(self, instance):
|
||||
objectsets = ["skeletonMesh_SET"]
|
||||
|
|
|
|||
|
|
@ -24,14 +24,7 @@ class ValidateSkeletonTopGroupHierarchy(pyblish.api.InstancePlugin,
|
|||
|
||||
def process(self, instance):
|
||||
invalid = []
|
||||
skeleton_data = instance.data.get(("animated_rigs"), [])
|
||||
skeleton_mesh_data = instance.data(("skeleton_mesh"), [])
|
||||
if skeleton_data:
|
||||
invalid = self.get_top_hierarchy(skeleton_data)
|
||||
if invalid:
|
||||
raise PublishValidationError(
|
||||
"The skeletonAnim_SET includes the object which "
|
||||
f"is not at the top hierarchy: {invalid}")
|
||||
if skeleton_mesh_data:
|
||||
invalid = self.get_top_hierarchy(skeleton_mesh_data)
|
||||
if invalid:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue