select the member data before exporting usd in the usd extractor

This commit is contained in:
Kayla Man 2023-05-09 21:48:33 +08:00
parent 564da974b1
commit da56583d19

View file

@ -44,6 +44,7 @@ class ExtractModelUSD(publish.Extractor,
with maintained_selection():
# select and export
node_list = instance.data["members"]
rt.select(node_list)
rt.USDExporter.ExportFile(asset_filepath,
exportOptions=export_options,
contentSource=rt.Name("selected"),