Fix: USD Import: set active mesh color #105907
Closed
Michael Kowalski
wants to merge 1 commits from
When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
makowalski:usd_import_set_active_color
into main
pull from: makowalski:usd_import_set_active_color
merge into: blender:main
blender:main
blender:universal-scene-description
blender:temp-sculpt-dyntopo
blender:blender-v3.3-release
blender:blender-v3.6-release
blender:asset-browser-frontend-split
blender:brush-assets-project
blender:asset-shelf
blender:anim/armature-drawing-refactor-3
blender:temp-sculpt-dyntopo-hive-alloc
blender:tmp-usd-python-mtl
blender:tmp-usd-3.6
blender:blender-v3.5-release
blender:blender-projects-basics
blender:blender-v2.93-release
blender:temp-sculpt-attr-api
blender:realtime-clock
blender:sculpt-dev
blender:gpencil-next
blender:bevelv2
blender:microfacet_hair
blender:xr-dev
blender:principled-v2
When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 Commits (main)
Author | SHA1 | Message | Date |
---|---|---|---|
|
04160c4d4d |
USD import fix: set active mesh color.
Fixed a bug where the active color wasn't being set on imported meshes, resulting in no colors displaying in the viewport. This bug has been in the code for a long time. However, the colors have been displaying correctly until recently, so this issue wasn't previously apparent. Also, changed custom color data name from "displayColors" to "displayColor", to match the actual USD primvar name. (This was a typo in the original code.) Note that pull request #104542 addresses other issues in the color import code (e.g., converting all color primvars and not just "displayColor", avoiding hard-coding of attribute names, handling all iterpolation types, etc.). However, the current commit is meant as a short term fix to a regression, where the "displayColor" attribute does not render in the viewport at all, until the above pull can be merged. |