This commit is contained in:
Ondrej Samohel 2022-04-01 18:36:29 +02:00
parent 14cb9832a2
commit 85e2601022
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
4 changed files with 2 additions and 18 deletions

View file

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
from maya import cmds # noqa
import pyblish.api
from avalon.api import Session
from openpype.api import get_project_settings
class CollectUnrealSkeletalMesh(pyblish.api.InstancePlugin):

View file

@ -7,10 +7,6 @@ from maya import cmds # noqa
import pyblish.api
import openpype.api
from openpype.hosts.maya.api.lib import (
parent_nodes,
maintained_selection
)
from openpype.hosts.maya.api import fbx
@ -42,8 +38,6 @@ class ExtractUnrealSkeletalMesh(openpype.api.Extractor):
geo = instance.data.get("geometry")
joints = instance.data.get("joints")
joints_parent = cmds.listRelatives(joints, p=True)
to_extract = geo + joints
# The export requires forward slashes because we need

View file

@ -8,8 +8,7 @@ import pyblish.api
import openpype.api
from openpype.hosts.maya.api.lib import (
parent_nodes,
maintained_selection,
delete_after
maintained_selection
)
from openpype.hosts.maya.api import fbx

View file

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""Validator for correct naming of Static Meshes."""
from maya import cmds # noqa
import pyblish.api
import openpype.api
@ -71,13 +71,6 @@ class ValidateUnrealStaticMeshName(pyblish.api.InstancePlugin):
["CreateUnrealStaticMesh"]
["collision_prefixes"]
)
static_mesh_prefix = (
project_settings
["maya"]
["create"]
["CreateUnrealStaticMesh"]
["static_mesh_prefix"]
)
if cls.validate_mesh:
# compile regex for testing names