Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-16 20:17:32 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-16 20:17:32 +0300
commit3076544c8c5202803924a36c671bbba307ec33f1 (patch)
tree16e08c3b96565ed94785ad1d296c686194bfaab8 /source/blender/makesrna/intern/rna_light.c
parenta7542b9e2b3cd2ecddbf6dfaddad9164a93720d4 (diff)
Fix T64725: light power property dragging uses too small increments
Diffstat (limited to 'source/blender/makesrna/intern/rna_light.c')
-rw-r--r--source/blender/makesrna/intern/rna_light.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_light.c b/source/blender/makesrna/intern/rna_light.c
index 54c8049d4d2..a271b883e38 100644
--- a/source/blender/makesrna/intern/rna_light.c
+++ b/source/blender/makesrna/intern/rna_light.c
@@ -205,7 +205,7 @@ static void rna_def_light_energy(StructRNA *srna, bool distant)
* scene unit scale. */
prop = RNA_def_property(srna, "energy", PROP_FLOAT, PROP_POWER);
RNA_def_property_float_default(prop, 10.0f);
- RNA_def_property_ui_range(prop, 0.0f, 1000000.0f, 1, 5);
+ RNA_def_property_ui_range(prop, 0.0f, 1000000.0f, 10, 5);
RNA_def_property_ui_text(prop, "Power", "Amount of light emitted");
RNA_def_property_update(prop, 0, "rna_Light_draw_update");
}