Browse Source

Remove redundant initialisation

Oliver Sand 12 years ago
parent
commit
ce7425f269

+ 0 - 5
src/extras/helpers/DirectionalLightHelper.js

@@ -72,11 +72,6 @@ THREE.DirectionalLightHelper = function ( light, sphereSize ) {
 		this.targetLine = new THREE.Line( lineGeometry, lineMaterial );
 		this.targetLine.properties.isGizmo = true;
 
-	}
-	else {
-
-		this.targetSphere = null;
-
 	}
 
 	//

+ 0 - 5
src/extras/helpers/SpotLightHelper.js

@@ -91,11 +91,6 @@ THREE.SpotLightHelper = function ( light, sphereSize ) {
 		this.targetLine = new THREE.Line( lineGeometry, lineMaterial );
 		this.targetLine.properties.isGizmo = true;
 
-	}
-	else {
-
-		this.targetSphere = null;
-
 	}
 
 	//