Autodesk / Autodesk/maya-usd

Export selection with USD Export do not work if only a skeleton is selectedand it breaks any future export selection

Open
#3,053 5 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**
Hello!
There is an issue with "Export selection" when the only selected object is a joint. It even breaks the following export selections, even if you delete the joint and try to export the node only. The repro steps are simple and will give all the details needed.

**Steps to reproduce**
Steps to reproduce the behavior:
1. Open a new scene
2. Create an empty group
3. Create a joint and put it into the group like this
![image](https://user-images.githubusercontent.com/54908966/235751210-3d3e7b27-f6a0-4844-889b-ea02cdb2507b.png)
4. Select the joint
5. Go to File -> Export Selection
6. Choose the option "USD Export" for "Files of types:"
7. Click on export.
8. Notice a pop-up saying "Nothing is selected". The following picture show that the joint is clearly selected.
![image](https://user-images.githubusercontent.com/54908966/235751761-99702ebb-f67b-4b20-9bc4-4c532f4336e8.png)
9. Delete the joint
10. Select the transform node "null1"
11. Do step 5 to 7, the pop-up is there again. Note that, if we do select null1 and export the selection *before* creating joint1, we can export. So, we seem to be stuck in a broken state when we first try to export the skeleton only.

**Expected behavior**
When selecting the root joint, the skeleton should be exported. Also, if it fails, it shouldn't break the scene for any future export selection.

**Attachments**
See repro steps

**Specs (if applicable):**
- OS & version Windows 10
- Maya version Maya 2023.3 and Maya 2022.4
- Maya USD 0.21.0 for Maya 2023, 0.20.0 for Maya 2022

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.