[Bf-blender-cvs] [b0dee09a6d5] master: Fix bevel modifier spread value bug.

Howard Trickey noreply at git.blender.org
Sat Jan 19 22:00:55 CET 2019


Commit: b0dee09a6d5531fb3bc7bbb00069c75e18dfbd1d
Author: Howard Trickey
Date:   Sat Jan 19 15:56:11 2019 -0500
Branches: master
https://developer.blender.org/rBb0dee09a6d5531fb3bc7bbb00069c75e18dfbd1d

Fix bevel modifier spread value bug.

Was using same field as value, by mistake.

===================================================================

M	source/blender/makesrna/intern/rna_modifier.c

===================================================================

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");



More information about the Bf-blender-cvs mailing list