diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-04-17 16:13:02 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-04-17 16:13:02 +0400 |
commit | d00f664ee0c042569900110db21d567c21c391db (patch) | |
tree | 8d8f503e6a572b1c0449331b7cf4b9d4fc7c75bf /source/blender/makesrna/intern/rna_curve.c | |
parent | 163dbded30efc0eea40086cd5f9b8bafdad90790 (diff) |
Fix #26989: Smooth tangent Iteration field in Curve panel not responding.
Not sure what's the uint of step argument for RNA_def_property_ui_range, but
i just set the same values as in other cases used (like Camera.draw_size)
Diffstat (limited to 'source/blender/makesrna/intern/rna_curve.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_curve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c index 03314bca6a3..ec0f9277653 100644 --- a/source/blender/makesrna/intern/rna_curve.c +++ b/source/blender/makesrna/intern/rna_curve.c @@ -1355,7 +1355,7 @@ static void rna_def_curve(BlenderRNA *brna) // XXX - would be nice to have a better way to do this, only add for testing. prop= RNA_def_property(srna, "twist_smooth", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "twist_smooth"); - RNA_def_property_ui_range(prop, 0, 100.0, 0.1, 0); + RNA_def_property_ui_range(prop, 0, 100.0, 1, 2); RNA_def_property_ui_text(prop, "Twist Smooth", "Smoothing iteration for tangents"); RNA_def_property_update(prop, 0, "rna_Curve_update_data"); |