Autodesk / maya-usd

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

Attribute Editor: Does not display translate, rotate, scale info for xforms created when grouping #1765

Closed gracekumagai closed 2 years ago

gracekumagai commented 2 years ago

Describe the bug When using the transform manips to transform an xform that was created when grouping, the translate, rotate, and scale information is not displayed in the AE.

Steps to reproduce Steps to reproduce the behavior:

  1. Open a new file in Maya 2022
  2. Navigate to Create -> Universal Scene Description (USD) -> Stage with new layer
  3. Right click on the proxy shape -> Add new prim -> Capsule
  4. Click on the Capsule and press Ctrl+g to create a group
  5. Click on the xform that was just created
  6. Manipulate the xform using the transform manips. Translate, scale, rotate are not populated for this prim in the AE.

Expected behavior When using the transform manips on the xform, I would expect the transforms to be populated in the AE.

Attachments xform_ae_transforms

Specs (if applicable):

Additional context This bug can be challenging to test due to: #1764

When creating the group, the following is printed in the script editor:

// Error: file: /dist/sw/maya/2022.update2/scripts/others/showEditor.mel line 3702: RuntimeError: file <...>/nodes/usdschemabase/ae_template.py line 594: Assertion failed: "false"
    File: maya_open_source/maya-usd/lib/mayaUsd/ufe/UsdAttributes.cpp
    Line: 172
    Function: getUfeTypeForAttribute
    Description: Invalid USDAttribute! // 
santosd commented 2 years ago

I tested this one out in Maya 2022.2 and Maya 2023 using 0.13.0 and 0.12.0 and I was not able to reproduce the issue. I am also not seeing an error upon grouping.

gracekumagai commented 2 years ago

Hey @santosd - I wanted to let you know that I re-tested in maya 2022.update2 and maya 2023 PR132 and I'm no longer able to reproduce :) I wonder if it was an artifact of #1764.

Feel free to close it out if the investigation is wrapped up on your end too - thanks!

santosd commented 2 years ago

Thank you @gracekumagai for the reply on this one. I will go ahead and close it out.