Autodesk / maya-usd

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

[MAYA-105120] PointInstancer prototypes load as visible #404

Closed fdan closed 4 years ago

fdan commented 4 years ago

Describe the bug When I load a set with a point instancer, the instances show correctly in the viewport, but the prototypes are also visible. They should not be.

Steps to reproduce Steps to reproduce the behavior:

  1. Download and unzip my attache set
  2. Bring into Maya via Create -> Universal Scene Description (USD) -> Stage From Existing Layer and navigate to assets/set/world/model/model/assembly/world_model_model_assembly.v046.usd
  3. In the viewport, you will see a single giant tree which is one of the instancer prototypes that should be hidden

Expected behavior Point instancer instances should be visible, but prototypes should not be.

Attachments In this image, you can see the prototypes are visible image

Whereas in usdview they are not - I take this to be correct? image

world_set.zip

Specs (if applicable):

Additional context Add any other context about the problem here.

santosd commented 4 years ago

Hello @fdan, thank you for posting this issue here. I took a look at it in PR114 and was able to reproduce the issue in the latest build of the Maya USD. I will set this issue as reproduced and will get one of our devs to take a look at it.

Thank you.

williamkrick commented 4 years ago

@fdan #570 which fixes this issue has been merged. Can you test it to verify?

santosd commented 4 years ago

@fdan I tested it out on my end with the new changes and this seems to be working well after the merged changes. Please give it a try and let me know or feel free to close this issue out.

fdan commented 4 years ago

Cheers, I haven’t had a chance to confirm unfortunately but trust you folks that it’s solved.