2
0
Эх сурвалжийг харах

Editor: Allow negative light intensity.

Mr.doob 4 жил өмнө
parent
commit
f1fb6ee23b

+ 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 );