Autodesk / Autodesk/maya-usd

[EMSUSD-1845] 'Tear off copy..' Maya viewport function defaults to perspective view if looking through UFE camera

Open
#4,012 1 comment 0 reactions 1 assignee Claimed by @santosg87 View on GitHub
bug reproduced
Dominant language
Wolfram Language
Stars
905
Forks
223
Avg merge
2d 9h
Merged PRs (30d)
17

Description

**Describe the bug**

When looking through UFE camera, clicking 'Tear off copy..' in Maya would cause the newly viewport fallback to be default perspective camera.
This does not happen for native Maya camera, e.g. "persp1" (see attached GIF).

**Steps to reproduce**
Steps to reproduce the behavior:
1. Launch Maya
2. Create a USD proxy shape from any USD camera scene (see super simple example below):
```
#usda 1.0
(
defaultPrim = "root"
metersPerUnit = 0.01
upAxis = "Y"
)

def Xform "root"
{
def Camera "testCam"
{
float3 xformOp:rotateXYZ = (-41.738354, -18.2, 0)
double3 xformOp:translate = (-1.7836315683895845, 5.094853768457956, 5.424946234822715)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ"]
}
}
```
3. Look through the UFE camera
4. Click the 'Tear off copy..' menu item
5. The newly created panel still shows the default perspective camera

**Expected behavior**
'Tear off copy..' works as expected for UFE camera.

**Attachments**
![UFE_camera_tear_off](https://github.com/user-attachments/assets/ee8af93b-5c05-42f0-9fac-91664de6ee24)

**Specs (if applicable):**
- OS & version CentOS 7.8
- Compiler & version gcc 6.3
- Maya version Maya-2023.3.3
- Maya USD commit SHA official v0.30.0
- Pixar USD commit SHA v22.05 & v24.03

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.