Autodesk / Autodesk/maya-usd

[EMSUSD-24] USD Camera viewport refresh issue

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

Description

**Describe the bug**
While looking through a USD Camera it does not update when applying transforms to a parent prim

**Steps to reproduce**
Steps to reproduce the behavior:

`rootlayer.usda`
```
#usda 1.0
(
)

def Xform "group01"
{
double3 xformOp:translate = (0, 0, 0)
uniform token[] xformOpOrder = ["xformOp:translate"]

def Camera "Camera01"
{
}
}
```

1. Load rootlayer.usda
2. Apply transforms to the parent prim group01
3. The viewport which is looking through the USD camera does not update
4. Scrub the timeline or toggle "Camera01" visibility
5. The viewport will update

**Expected behavior**
We would expect the camera viewport to update immediately after transforms are applied to the parent prim

**Attachments**
![image](https://github.com/Autodesk/maya-usd/assets/31553301/19623e6b-e9c4-453d-868e-a4d238a6758e)
![image](https://github.com/Autodesk/maya-usd/assets/31553301/f19cbc3c-b6e5-41ef-afd3-af9d2800e9b0)
![image](https://github.com/Autodesk/maya-usd/assets/31553301/ac47b031-6c0d-4fa9-b4a8-8be69b175a53)

**Specs (if applicable):**
- CentOS 7.8
- gcc-6.3
- maya-223
- Maya USD commit SHA
- Pixar USD commit SHA

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.