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:
authorCampbell Barton <ideasman42@gmail.com>2010-05-20 12:51:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-05-20 12:51:03 +0400
commit9d62acea673c2a3a74a97915a0f40c7329634ca3 (patch)
tree5fae6623b4ad7c073f69024861eb06c00e898086 /source/blender/makesrna/intern/rna_fcurve.c
parent79a45e75d352e73c543cedc46b3c62d89e38b754 (diff)
some rna numbers were signed when they shouldnt be (simplify could have its subdivisions set negative)
Diffstat (limited to 'source/blender/makesrna/intern/rna_fcurve.c')
-rw-r--r--source/blender/makesrna/intern/rna_fcurve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_fcurve.c b/source/blender/makesrna/intern/rna_fcurve.c
index 8da381aff50..1fe22e8fdd8 100644
--- a/source/blender/makesrna/intern/rna_fcurve.c
+++ b/source/blender/makesrna/intern/rna_fcurve.c
@@ -857,7 +857,7 @@ static void rna_def_fmodifier_noise(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Phase", "A random seed for the noise effect");
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
- prop= RNA_def_property(srna, "depth", PROP_INT, PROP_NONE);
+ prop= RNA_def_property(srna, "depth", PROP_INT, PROP_UNSIGNED);
RNA_def_property_int_sdna(prop, NULL, "depth");
RNA_def_property_ui_text(prop, "Depth", "Amount of fine level detail present in the noise");
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);