Browse Source

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

heqiang 4 năm trước cách đây
mục cha
commit
6a85683a5b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 ) {