Explorar o código

Variable non assigned set to undefined in UCSCharacter

Tristan Valcke %!s(int64=9) %!d(string=hai) anos
pai
achega
950c6b467c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      examples/js/UCSCharacter.js

+ 2 - 2
examples/js/UCSCharacter.js

@@ -8,8 +8,8 @@ THREE.UCSCharacter = function() {
 
 
 	this.root = new THREE.Object3D();
 	this.root = new THREE.Object3D();
 
 
-	this.numSkins;
-	this.numMorphs;
+	this.numSkins = undefined;
+	this.numMorphs = undefined;
 
 
 	this.skins = [];
 	this.skins = [];
 	this.materials = [];
 	this.materials = [];

粤ICP备19079148号