Autodesk / Autodesk/maya-usd

[EMSUSD-3783] "Load Sublayer" doesn't respect windows paths "\"

Open
#4,598 1 comment 0 reactions 1 assignee Claimed by @santosd 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 pasting a windows path into the "Load Sublayers" dialog, the backslashes are escaped rather than treated as path separators

**Steps to reproduce**
1. Right click on a layer in Layer Editor and choose "Load Sublayers..."
2. Paste a standard windows path with backslashes (eg `C:\Autodesk\cube.usd`)
3. Observe the path reference is invalid and the backslashes have been removed

**Expected behavior**
Expected the "\\" in the path to be conformed to "/" if that is what USD requires. Alternatively would have expected the standard maya file browser dialog

**Attachments**

Image

Image

**Specs (if applicable):**
- Windows 11
- Maya 2024
- maya_usd 0.35

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.