Duplicate with Transform (Shift + D) incorrect with moved mayaUsdProxyShape transform
- Dominant language
- Wolfram Language
- Stars
- 905
- Forks
- 223
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 17
Description
**Describe the bug**
If the `mayaUsdProxyShape`'s transform is not at origin (not identity matrix) then whever Duplicate with Transform is used then it will incorrectly 'double transform' the the transformation that is applied to the Stage Proxy transform.
**Steps to reproduce**
Steps to reproduce the behavior:
1. Create empty Maya USD Proxy
2. Translate the stage itself, up by 5 units in Y axis
3. Create a Cube Prim in USD stage
4. Press Shift + D
6. Move the duplicate Cube to the right, e.g. 2 units
7. Press Shift + D to duplicate with transform.
Note how the third cube appears higher.

The cube three has the Y = 5 also applied locally, even though it should've accounted for its parent transforms.
It should've only really applied the diff between start and end matrix of the transformation since last "Shift + D".

**Expected behavior**
Proxy Shape's transform should be accounted for and not apply as double transforms.

**Specs (if applicable):**
- OS & version: Windows 10
- Maya version: 2024.2
- Maya USD: 0.27.0
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.