We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73636e3 commit e3f4523Copy full SHA for e3f4523
examples/jsm/loaders/usd/USDComposer.js
@@ -787,16 +787,7 @@ class USDComposer {
787
if ( ! attrPath.startsWith( prefix ) ) continue;
788
789
const attrSpec = this.specsByPath[ attrPath ];
790
- let attrName = attrPath.slice( prefix.length );
791
-
792
- // USDA includes type annotations like "token[] joints" or "matrix4d[] bindTransforms"
793
- // Extract the actual attribute name after the type annotation
794
- const typeMatch = attrName.match( /^[a-zA-Z0-9]+(?:\[\])?\s+(.+)$/ );
795
- if ( typeMatch ) {
796
797
- attrName = typeMatch[ 1 ];
798
799
- }
+ const attrName = attrPath.slice( prefix.length );
800
801
if ( attrSpec.fields?.default !== undefined ) {
802
0 commit comments