mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
remove invalid actions and some code tweaks
This commit is contained in:
parent
b33ddb05de
commit
ed02bf3111
2 changed files with 1 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ class CollectFbxAnimation(pyblish.api.InstancePlugin,
|
|||
if i.lower().endswith("skeletonanim_set")
|
||||
]
|
||||
if skeleton_sets:
|
||||
instance.data["families"] += ["animation.fbx"]
|
||||
instance.data["families"].append("animation.fbx")
|
||||
instance.data["animated_skeleton"] = []
|
||||
for skeleton_set in skeleton_sets:
|
||||
skeleton_content = cmds.sets(skeleton_set, query=True)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import pyblish.api
|
||||
import openpype.hosts.maya.api.action
|
||||
from openpype.pipeline.publish import (
|
||||
PublishValidationError,
|
||||
ValidateContentsOrder
|
||||
|
|
@ -17,7 +16,6 @@ class ValidateAnimatedReferenceRig(pyblish.api.InstancePlugin):
|
|||
hosts = ["maya"]
|
||||
families = ["animation.fbx"]
|
||||
label = "Animated Reference Rig"
|
||||
actions = [openpype.hosts.maya.api.action.SelectInvalidAction]
|
||||
accepted_controllers = ["transform", "locator"]
|
||||
|
||||
def process(self, instance):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue