Browse Source

Editor: Allow negative light intensity.

Mr.doob 4 years ago
parent
commit
f1fb6ee23b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/js/Sidebar.Object.js

+ 1 - 1
editor/js/Sidebar.Object.js

@@ -215,7 +215,7 @@ function SidebarObject( editor ) {
 	// intensity
 
 	var objectIntensityRow = new UIRow();
-	var objectIntensity = new UINumber().setRange( 0, Infinity ).onChange( update );
+	var objectIntensity = new UINumber().onChange( update );
 
 	objectIntensityRow.add( new UIText( strings.getKey( 'sidebar/object/intensity' ) ).setWidth( '90px' ) );
 	objectIntensityRow.add( objectIntensity );