Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMSUSD-208 Material custom control for AE #3731

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

pierrebai-adsk
Copy link
Collaborator

  • Added a new material custom control for the attribute editor (AE).
  • It creates text fields for the material path, inherited material and ancesto prim path.
  • If the material is directly on the prim, the inherited and ancestor fields are hidden.
  • If the material is inherited, the material path is set to "inheriting".
  • All fields are not editable.
  • The direct or inherited material is found by using the ComputeBoundMaterial function from the USD material binding API.
  • Added a button to go to the prim from which the material is inherited.
  • Don't show the material section for materials themselves.
  • Show the direct material when there is one even though an inherited material over-rides it.
  • Show tooltip explaining how inherited material affect the prim in the assigned material field.
  • Use italics font for the assigned material when inheriting a material.
  • The material section is added after the section corresponding the prim type.

- Added a new material custom control for the attribute editor (AE).
- It creates text fields for the material path, inherited material and ancesto prim path.
- If the material is directly on the prim, the inherited and ancestor fields are hidden.
- If the material is inherited, the material path is set to "inheriting".
- All fields are not editable.
- The direct or inherited material is found by using the ComputeBoundMaterial function
  from the USD material binding API.
- Added a button to go to the prim from which the material is inherited.
- Don't show the material section for materials themselves.
- Show the direct material when there is one even though an inherited material over-rides it.
- Show tooltip explaining how inherited material affect the prim in the assigned material field.
- Use italics font for the assigneed material when inheriting a material.
- The material section is added after the section corresponding the prim type.
@pierrebai-adsk pierrebai-adsk added the adsk Related to Autodesk plugin label Apr 19, 2024
@pierrebai-adsk pierrebai-adsk self-assigned this Apr 19, 2024
@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Apr 22, 2024
@seando-adsk seando-adsk merged commit 48a4544 into dev Apr 23, 2024
11 checks passed
@seando-adsk seando-adsk deleted the bailp/EMSUSD-208/material-assignment-in-AE branch April 23, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adsk Related to Autodesk plugin ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants