Autodesk / Autodesk/maya-usd

Creating a group in proxy shape directly generates rotatePivot and scalePivot xformOps

Open
#3,621 0 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**

Whenever you create a group (Edit > Group or CTRL+G) the created `group` in the Maya USD Proxy Shape will directly show rotate and scale pivot xform ops in the channel box:

![image](https://github.com/Autodesk/arnold-usd/assets/2439881/77e9f1fa-0f62-4bfb-a0b7-5f33a18773c7)

Whereas right clicking in the proxy shape in outliner and creating an "Xform" this does not happen.

**To Reproduce**
Steps to reproduce the behavior:

1. Create Maya USD Proxy
2. Create Cube Prim
3. Press CTRL+G

**Expected behavior**

If there's no pivot point opinion (e.g group options are set to 'Group Pivot' "origin") it should not really specify any pivot point related xform ops. Right?

That would leave things cleaner/lighter on the USD side of things. Only when adjusting the pivot should it set those xform ops?

**Screenshots**

![image](https://github.com/Autodesk/maya-usd/assets/2439881/23193d8b-b82f-4361-8254-829081c369e4)

**Used Software Versions**
- Maya: 2024.2
- Maya-USD: 0.27.0
- OS: Windows 10

**Additional context**
Side question:

Should we somehow improve the ordering of the attributes in channelBox for pivot points:

![image](https://github.com/Autodesk/arnold-usd/assets/2439881/0b7d51aa-9263-481f-92a0-5fb833c756a1)

I think artists will be more familiar with Translate, Rotate, Scale first instead of pivots mixed in-between.
There does seem to be _some_ logic on how it sorts it because it does do translate, rotate, scale in that order which doesn't seem to come from the actual xformOpOrder.

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.