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:
authorHoward Trickey <howard.trickey@gmail.com>2019-07-31 20:58:09 +0300
committerHoward Trickey <howard.trickey@gmail.com>2019-07-31 21:01:42 +0300
commit881675dff13d3ff971e4b341eec4ecfca3f74d97 (patch)
treef0e73e3129907a9f1c7ac8023358f3f15c5d7de5 /source/blender/makesrna/intern/rna_rna.c
parentf7c13f2d761a1938a96c6435055c4308504527ff (diff)
Clarify in FloatProperty generated docs: single precision floats.
At least one script writer was upset that this was not specified, as it is different from "floating point" in Python. Also, docstring for hard and soft min and max for FloatProperty was wrong, using sys.float_info.min and sys.float_info.max.
Diffstat (limited to 'source/blender/makesrna/intern/rna_rna.c')
-rw-r--r--source/blender/makesrna/intern/rna_rna.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_rna.c b/source/blender/makesrna/intern/rna_rna.c
index 9834520f952..3ca4792f9b4 100644
--- a/source/blender/makesrna/intern/rna_rna.c
+++ b/source/blender/makesrna/intern/rna_rna.c
@@ -3077,7 +3077,7 @@ void RNA_def_rna(BlenderRNA *brna)
/* FloatProperty */
srna = RNA_def_struct(brna, "FloatProperty", "Property");
RNA_def_struct_ui_text(
- srna, "Float Definition", "RNA floating pointer number property definition");
+ srna, "Float Definition", "RNA floating point number (single precision) property definition");
rna_def_number_property(srna, PROP_FLOAT);
/* StringProperty */