Skip to content

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

@csyshing

Description

@csyshing

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"]
    }
}
  1. Look through the UFE camera
  2. Click the 'Tear off copy..' menu item
  3. 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

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreproducedIssue has been reproduced

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions