Explorar o código

Editor.js : Remove the default color value of SpotLightHelper. (#21675)

heqiang %!s(int64=4) %!d(string=hai) anos
pai
achega
6a85683a5b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      editor/js/Editor.js

+ 1 - 1
editor/js/Editor.js

@@ -414,7 +414,7 @@ Editor.prototype = {
 
 				} else if ( object.isSpotLight ) {
 
-					helper = new THREE.SpotLightHelper( object, 1 );
+					helper = new THREE.SpotLightHelper( object );
 
 				} else if ( object.isHemisphereLight ) {