Browse Source

Variable non assigned set to undefined in UCSCharacter

Tristan Valcke 8 years ago
parent
commit
950c6b467c
1 changed files with 2 additions and 2 deletions
  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.numSkins;
-	this.numMorphs;
+	this.numSkins = undefined;
+	this.numMorphs = undefined;
 
 	this.skins = [];
 	this.materials = [];