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 <brecht@blender.org>2021-01-27 19:02:50 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-01-27 19:54:38 +0300
commit0e39c526d856f9807cbb84d816fb6a433ec95095 (patch)
treeed0d7da952555364295e4da69ccdba08d953b31b
parentded494090114696dfc1c919205ff890c20c62bd2 (diff)
Fix RNA debug build error after recent Sky texture altitude change
Reduce step size within the allowed range.
-rw-r--r--source/blender/makesrna/intern/rna_nodetree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index 013b3880bdf..da84d02a8c1 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -4744,7 +4744,7 @@ static void def_sh_tex_sky(StructRNA *srna)
prop = RNA_def_property(srna, "altitude", PROP_FLOAT, PROP_DISTANCE);
RNA_def_property_ui_text(prop, "Altitude", "Height from sea level");
RNA_def_property_range(prop, 0.0f, 60000.0f);
- RNA_def_property_ui_range(prop, 0.0f, 60000.0f, 1000, 1);
+ RNA_def_property_ui_range(prop, 0.0f, 60000.0f, 10, 1);
RNA_def_property_float_default(prop, 0.0f);
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");