File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,9 @@ THREE.DRACOLoader = function(manager) {
2828 this . nativeAttributeMap = {
2929 'position' : 'POSITION' ,
3030 'normal' : 'NORMAL' ,
31- 'color' : 'COLOR' ,
32- 'uv' : 'TEX_COORD'
31+ 'color' : 'COLOR_0' ,
32+ 'uv' : 'TEXCOORD_0' ,
33+ 'uv2' : 'TEXCOORD_1'
3334 } ;
3435} ;
3536
Original file line number Diff line number Diff line change @@ -1136,16 +1136,10 @@ THREE.GLTFLoader = ( function () {
11361136 POSITION : 'position' ,
11371137 NORMAL : 'normal' ,
11381138 TEXCOORD_0 : 'uv' ,
1139- TEXCOORD0 : 'uv' , // deprecated
1140- TEXCOORD : 'uv' , // deprecated
11411139 TEXCOORD_1 : 'uv2' ,
11421140 COLOR_0 : 'color' ,
1143- COLOR0 : 'color' , // deprecated
1144- COLOR : 'color' , // deprecated
11451141 WEIGHTS_0 : 'skinWeight' ,
1146- WEIGHT : 'skinWeight' , // deprecated
11471142 JOINTS_0 : 'skinIndex' ,
1148- JOINT : 'skinIndex' // deprecated
11491143 } ;
11501144
11511145 var PATH_PROPERTIES = {
@@ -1939,7 +1933,7 @@ THREE.GLTFLoader = ( function () {
19391933 // Ignore empty accessors, which may be used to declare runtime
19401934 // information about attributes coming from another source (e.g. Draco
19411935 // compression extension).
1942- return null ;
1936+ return Promise . resolve ( null ) ;
19431937
19441938 }
19451939
You can’t perform that action at this time.
0 commit comments