[Bf-blender-cvs] [f92b8c26133] master: Fix T58206: Eevee light energy soft maximum is too low.

Brecht Van Lommel noreply at git.blender.org
Fri Feb 1 18:15:12 CET 2019


Commit: f92b8c2613355e20f77e0570184544b844b9d759
Author: Brecht Van Lommel
Date:   Fri Feb 1 18:03:29 2019 +0100
Branches: master
https://developer.blender.org/rBf92b8c2613355e20f77e0570184544b844b9d759

Fix T58206: Eevee light energy soft maximum is too low.

===================================================================

M	source/blender/makesrna/intern/rna_lamp.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_lamp.c b/source/blender/makesrna/intern/rna_lamp.c
index 0a8d174980f..55d0a8a856b 100644
--- a/source/blender/makesrna/intern/rna_lamp.c
+++ b/source/blender/makesrna/intern/rna_lamp.c
@@ -139,7 +139,7 @@ static void rna_def_light(BlenderRNA *brna)
 
 	prop = RNA_def_property(srna, "energy", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_float_default(prop, 10.0f);
-	RNA_def_property_ui_range(prop, 0, 10, 1, 3);
+	RNA_def_property_ui_range(prop, 0, 1000000.0f, 1, 3);
 	RNA_def_property_ui_text(prop, "Energy", "Amount of light emitted");
 	RNA_def_property_update(prop, 0, "rna_Light_draw_update");



More information about the Bf-blender-cvs mailing list