Browse Source

GLTFLoader: Clean up

Takahiro 7 năm trước cách đây
mục cha
commit
eaa980cf6d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/js/loaders/GLTFLoader.js

+ 1 - 1
examples/js/loaders/GLTFLoader.js

@@ -1279,7 +1279,7 @@ THREE.GLTFLoader = ( function () {
 
 		}
 
-		return isObjectEqual( a.attributes || {}, b.attributes || {} );
+		return isObjectEqual( a.attributes, b.attributes );
 
 	}