Browse Source

Remove .getHex() from GLTF2Loader

Takahiro 8 years ago
parent
commit
0727fc42ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/loaders/GLTF2Loader.js

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

@@ -1212,7 +1212,7 @@ THREE.GLTF2Loader = ( function () {
 
 
 							} else {
 							} else {
 
 
-								materialParams.color.setRGB( 1.0, 1.0, 1.0 ).getHex();
+								materialParams.color.setRGB( 1.0, 1.0, 1.0 );
 								materialParams.opacity = 1.0;
 								materialParams.opacity = 1.0;
 
 
 							}
 							}