Skip to content

Commit

Permalink
Editor: Allow negative light intensity.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Feb 9, 2021
1 parent 21db344 commit f1fb6ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/js/Sidebar.Object.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit f1fb6ee

Please sign in to comment.