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 87cc59b commit 43166fcCopy full SHA for 43166fc
examples/jsm/loaders/usd/USDCParser.js
@@ -1261,6 +1261,8 @@ class USDCParser {
1261
1262
switch ( type ) {
1263
1264
+ case TypeEnum.Invalid:
1265
+ return null;
1266
case TypeEnum.Bool:
1267
return reader.readUint8() !== 0;
1268
case TypeEnum.UChar:
@@ -1402,7 +1404,7 @@ class USDCParser {
1402
1404
} else {
1403
1405
1406
reader.position = valueRep.payload;
- value = this._readScalarValue( valueRep );
1407
+ value = this._readScalarValue( valueRep.typeEnum );
1408
1409
}
1410
0 commit comments