Procházet zdrojové kódy

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

heqiang před 4 roky
rodič
revize
6a85683a5b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 ) {