mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
bigRoy's comment
This commit is contained in:
parent
4bbb2e0ba3
commit
b72d241c2f
2 changed files with 2 additions and 8 deletions
|
|
@ -21,14 +21,11 @@ class ExtractRigFBX(publish.Extractor,
|
|||
"""
|
||||
order = pyblish.api.ExtractorOrder
|
||||
label = "Extract Animation (FBX)"
|
||||
families = ["animation"]
|
||||
families = ["animation.fbx"]
|
||||
|
||||
def process(self, instance):
|
||||
if not self.is_active(instance.data):
|
||||
return
|
||||
if "animation.fbx" not in instance.data["families"]:
|
||||
self.log.debug("No object inside skeleton_set..Skipping...")
|
||||
return
|
||||
if not cmds.loadPlugin("fbxmaya", query=True):
|
||||
cmds.loadPlugin("fbxmaya", quiet=True)
|
||||
# Define output path
|
||||
|
|
|
|||
|
|
@ -21,14 +21,11 @@ class ExtractRigFBX(publish.Extractor,
|
|||
"""
|
||||
order = pyblish.api.ExtractorOrder
|
||||
label = "Extract Rig (FBX)"
|
||||
families = ["rig"]
|
||||
families = ["rig.fbx"]
|
||||
|
||||
def process(self, instance):
|
||||
if not self.is_active(instance.data):
|
||||
return
|
||||
if "rig.fbx" not in instance.data["families"]:
|
||||
self.log.debug("No object inside skeletonMesh_set..Skipping..")
|
||||
return
|
||||
if not cmds.loadPlugin("fbxmaya", query=True):
|
||||
cmds.loadPlugin("fbxmaya", quiet=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue