Sfoglia il codice sorgente

use correct variable store data

gero3 6 anni fa
parent
commit
4a1ab0b0f9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      examples/js/loaders/VRMLLoader.js

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

@@ -1067,7 +1067,7 @@ THREE.VRMLLoader.prototype = {
 
 							positions = newPositions;
 							normals = newNormals;
-							color = newColors;
+							colors = newColors;
 							uvs = newUvs;
 
 							geometry.setIndex( newIndexes );