Browse Source

Allow overrideColor to be changed after construction in PointLightHelper

Lewy Blue 8 years ago
parent
commit
0e536cfeab
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/helpers/PointLightHelper.js

+ 1 - 0
src/helpers/PointLightHelper.js

@@ -62,6 +62,7 @@ PointLightHelper.prototype.dispose = function () {
 PointLightHelper.prototype.update = function () {
 
 	if ( ! this.overrideColor ) this.material.color.copy( this.light.color );
+	else this.material.color.set( this.overrideColor );
 
 	/*
 	var d = this.light.distance;