mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 22:02:15 +01:00
Support Maya instances in pointCache extraction.
This commit is contained in:
parent
2a34e6c35e
commit
1133dedb54
1 changed files with 5 additions and 7 deletions
|
|
@ -65,7 +65,7 @@ class ExtractAlembic(openpype.api.Extractor):
|
|||
"writeColorSets": writeColorSets,
|
||||
"writeFaceSets": writeFaceSets,
|
||||
"uvWrite": True,
|
||||
"selection": True,
|
||||
"selection": False,
|
||||
"worldSpace": instance.data.get("worldSpace", True)
|
||||
}
|
||||
|
||||
|
|
@ -80,12 +80,10 @@ class ExtractAlembic(openpype.api.Extractor):
|
|||
options["writeUVSets"] = True
|
||||
|
||||
with suspended_refresh():
|
||||
with maintained_selection():
|
||||
cmds.select(nodes, noExpand=True)
|
||||
extract_alembic(file=path,
|
||||
startFrame=start,
|
||||
endFrame=end,
|
||||
**options)
|
||||
extract_alembic(file=path,
|
||||
startFrame=start,
|
||||
endFrame=end,
|
||||
**options)
|
||||
|
||||
if "representations" not in instance.data:
|
||||
instance.data["representations"] = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue