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:
authorRichard Antalik <richardantalik@gmail.com>2020-11-04 20:13:57 +0300
committerRichard Antalik <richardantalik@gmail.com>2020-11-04 20:13:57 +0300
commit7a8c8ec5e990765bab2e8db6b54ed4f0e80c2a2b (patch)
tree78274c9fb9f62f8fc64145ca4c4ad64daa1362b6 /source/blender/makesrna/intern/rna_color.c
parentc937f9c4e76c04cc245775d39cd2684e65515863 (diff)
parentfd110291a5f133042511dee3648c354fca141a43 (diff)
Merge branch 'blender-v2.91-release'
Diffstat (limited to 'source/blender/makesrna/intern/rna_color.c')
-rw-r--r--source/blender/makesrna/intern/rna_color.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_color.c b/source/blender/makesrna/intern/rna_color.c
index e8bef4a8a9e..ac47f434c3b 100644
--- a/source/blender/makesrna/intern/rna_color.c
+++ b/source/blender/makesrna/intern/rna_color.c
@@ -942,6 +942,7 @@ static void rna_def_color_ramp_element(BlenderRNA *brna)
prop = RNA_def_property(srna, "position", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "pos");
RNA_def_property_range(prop, 0, 1);
+ RNA_def_property_ui_range(prop, 0, 1, 1, 3);
RNA_def_property_ui_text(prop, "Position", "Set position of selected color stop");
RNA_def_property_update(prop, 0, "rna_ColorRamp_update");
}