diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2019-01-19 23:56:11 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2019-01-19 23:58:01 +0300 |
commit | b0dee09a6d5531fb3bc7bbb00069c75e18dfbd1d (patch) | |
tree | 8952add6e76d083804a76d74e7baa4d44817a31d /source/blender/makesrna/intern/rna_modifier.c | |
parent | 8a61ea7296f17428f062a840c560e08a5a2f72ea (diff) |
Fix bevel modifier spread value bug.
Was using same field as value, by mistake.
Diffstat (limited to 'source/blender/makesrna/intern/rna_modifier.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 97785c55ef1..2414921eeba 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -3183,7 +3183,7 @@ static void rna_def_modifier_bevel(BlenderRNA *brna) RNA_def_property_update(prop, 0, "rna_Modifier_update"); prop = RNA_def_property(srna, "spread", PROP_FLOAT, PROP_DISTANCE); - RNA_def_property_float_sdna(prop, NULL, "value"); + RNA_def_property_float_sdna(prop, NULL, "spread"); RNA_def_property_range(prop, 0, FLT_MAX); RNA_def_property_ui_range(prop, 0.0f, 100.0f, 0.1, 4); RNA_def_property_ui_text(prop, "Spread", "Spread distance for inner miter arcs"); |