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:
authorThomas Dinges <blender@dingto.org>2010-12-31 00:46:09 +0300
committerThomas Dinges <blender@dingto.org>2010-12-31 00:46:09 +0300
commit770363376293aeda36fc891faa7c02d7d245ce99 (patch)
tree74cc1e59230ef7d6b8be4e3f421c05b8deb98a77 /source/blender/makesrna/intern/rna_nodetree.c
parentf3e623f49790ad0f92525e5f5a8094173d68e61f (diff)
Bugfix for [#25416] Precision in glare node doesn't match display.
Diffstat (limited to 'source/blender/makesrna/intern/rna_nodetree.c')
-rw-r--r--source/blender/makesrna/intern/rna_nodetree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index 3429a195e1a..d13564b6621 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -2011,9 +2011,9 @@ static void def_cmp_glare(StructRNA *srna)
RNA_def_property_ui_text(prop, "Streaks", "Total number of streaks");
RNA_def_property_update(prop, NC_NODE|NA_EDITED, "rna_Node_update");
- prop = RNA_def_property(srna, "angle_offset", PROP_FLOAT, PROP_NONE);
- RNA_def_property_float_sdna(prop, NULL, "angle_ofs");
- RNA_def_property_range(prop, 0.0f, 180.0f);
+ prop = RNA_def_property(srna, "angle_offset", PROP_INT, PROP_NONE);
+ RNA_def_property_int_sdna(prop, NULL, "angle_ofs");
+ RNA_def_property_range(prop, 0, 180);
RNA_def_property_ui_text(prop, "Angle Offset", "Streak angle offset in degrees");
RNA_def_property_update(prop, NC_NODE|NA_EDITED, "rna_Node_update");