Autodesk / maya-usd

A common USD (Universal Scene Description) plugin for Autodesk Maya
761 stars 202 forks source link

Duplicate Shape Node on Import #3837

Open flipsidezagit opened 2 months ago

flipsidezagit commented 2 months ago

Describe the bug Upon importing a .usd file that contains a structure of:

the imported hierarchy appears as:

this is when exporting you do NOT enable 'Merge Transform and Shape Nodes' which in our case (and the case of blender usd export for example) does not do.

Steps to reproduce

  1. Create the structure above using groups and a pCone1
  2. Select hierarchy and go File > Export Selection, do NOT enable 'Merge Transform and Shape Nodes'.
  3. File > Import your .usd file

Expected behavior I think the usd importer may require the inverse option of the exporters 'Merge Transform and Shape Nodes'. Allowing it to know that the def Mesh "pConeShape1" should just become the shape node for the def Xform "pCone1" above.

Attachments maya_duplicate_shapenode

Specs (if applicable):

santosd commented 2 months ago

Hi @flipsidezagit. Thank you for reporting this issue. I will log a ticket internally for this to see about the feasibility of adding this feature to the import options. I will get back to you and let you know what we determine as a team.