Autodesk / Autodesk/maya-usd

[EMSUSD-2154] mayaUsd_ProxyTargetsSessionLayerOnOpen doesn't seem to work

Open
#4,119 4 comments 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**
The mayaUsd_ProxyTargetsSessionLayerOnOpen option var does not appear to work for us with mayaUsdProxyShapes anymore. We should expect that the session layer is always set as the edit target, regardless of what is set in Maya when the file is saved.

**Steps to reproduce**
Steps to reproduce the behaviour:
1. Set the mayaUsd_ProxyTargetsSessionLayerOnOpen option var to 1.
2. Create a mayaUsdProxyShape pointing to a file.
3. Save a Maya file with the proxy shape included.
4. Close the Maya file and reopen the one saved in step 4.
5. Look at the Layer Editor and you will see that the session layer is not targeted despite the option var.

**Expected behavior**
The session layer should be targeted regardless of the edit target saved into the file.

**Specs (if applicable):**
- OS & version : Windows 10
- Compiler & version : precompiled
- Maya version : 2022.5, 2024
- Maya USD : 0.30.0

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.