Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Renaming usdX families to mvUsdX, that is usd->mvUsd,
Browse files Browse the repository at this point in the history
`usdComposition`->`mvUsdComposition`, `usdOverride`->`usdOverride`,
specifically within multiverse files. I have left the `usd` family in
`integrate_new.py` because that is being used in a bunch of different
places (eg: houdini's host integration), and have just added `mvUsd` as
a new family.
  • Loading branch information
dmo-j-cube committed Jun 8, 2022
1 parent bbbe5b3 commit 016baf1
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions openpype/hosts/maya/plugins/create/create_multiverse_usd.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
class CreateMultiverseUsd(plugin.Creator):
"""Create Multiverse USD Asset"""

name = "usdMain"
name = "mvUsdMain"
label = "Multiverse USD Asset"
family = "usd"
family = "mvUsd"
icon = "cubes"

def __init__(self, *args, **kwargs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
class CreateMultiverseUsdComp(plugin.Creator):
"""Create Multiverse USD Composition"""

name = "usdCompositionMain"
name = "mvUsdCompositionMain"
label = "Multiverse USD Composition"
family = "usdComposition"
family = "mvUsdComposition"
icon = "cubes"

def __init__(self, *args, **kwargs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
class CreateMultiverseUsdOver(plugin.Creator):
"""Create Multiverse USD Override"""

name = "usdOverrideMain"
name = "mvUsdOverrideMain"
label = "Multiverse USD Override"
family = "usdOverride"
family = "mvUsdOverride"
icon = "cubes"

def __init__(self, *args, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion openpype/hosts/maya/plugins/load/load_multiverse_usd.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class MultiverseUsdLoader(load.LoaderPlugin):
"""Read USD data in a Multiverse Compound"""

families = ["model", "usd", "usdComposition", "usdOverride",
families = ["model", "mvUsd", "mvUsdComposition", "mvUsdOverride",
"pointcache", "animation"]
representations = ["usd", "usda", "usdc", "usdz", "abc"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ExtractMultiverseUsd(openpype.api.Extractor):

label = "Extract Multiverse USD Asset"
hosts = ["maya"]
families = ["usd"]
families = ["mvUsd"]
scene_type = "usd"
file_formats = ["usd", "usda", "usdz"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ExtractMultiverseUsdComposition(openpype.api.Extractor):

label = "Extract Multiverse USD Composition"
hosts = ["maya"]
families = ["usdComposition"]
families = ["mvUsdComposition"]
scene_type = "usd"
# Order of `fileFormat` must match create_multiverse_usd_comp.py
file_formats = ["usda", "usd"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ExtractMultiverseUsdOverride(openpype.api.Extractor):

label = "Extract Multiverse USD Override"
hosts = ["maya"]
families = ["usdOverride"]
families = ["mvUsdOverride"]
scene_type = "usd"
# Order of `fileFormat` must match create_multiverse_usd_over.py
file_formats = ["usda", "usd"]
Expand Down
7 changes: 4 additions & 3 deletions openpype/plugins/publish/integrate_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,13 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
"effect",
"xgen",
"hda",
"mvLook",
"usd",
"staticMesh",
"skeletalMesh",
"usdComposition",
"usdOverride",
"mvLook",
"mvUsd",
"mvUsdComposition",
"mvUsdOverride",
"simpleUnrealTexture"
]
exclude_families = ["clip", "render.farm"]
Expand Down

0 comments on commit 016baf1

Please sign in to comment.