Kikuchi Ken 7 роки тому
батько
коміт
6fee41c51c
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      examples/js/loaders/PDBLoader.js

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

@@ -175,7 +175,7 @@ THREE.PDBLoader.prototype = {
 
 				}
 
-				atoms[index] = [ x, y, z, CPK[ e ], capitalize( e ) ];
+				atoms[ index ] = [ x, y, z, CPK[ e ], capitalize( e ) ];
 
 				if ( histogram[ e ] === undefined ) {