use more rna-constant name for bevel clamping.
authorCampbell Barton <ideasman42@gmail.com>
Wed, 24 Apr 2013 14:14:54 +0000 (14:14 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 24 Apr 2013 14:14:54 +0000 (14:14 +0000)
release/scripts/startup/bl_ui/properties_data_modifier.py
source/blender/makesrna/intern/rna_modifier.c

index 85447d4f1836a77e13612f2563a965ca7172984c..d42bfa066fe32ad22d503cbeb3cacd00a5b55ba0 100644 (file)
@@ -124,7 +124,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
 
         split = layout.split()
         split.prop(md, "use_only_vertices")
-        split.prop(md, "overlap_ok")
+        split.prop(md, "use_clamp_overlap")
 
         layout.label(text="Limit Method:")
         layout.row().prop(md, "limit_method", expand=True)
index 4b5e08065d64a9ef1f5e99637c02db7f5c58ff38..ef997ab1fd94e108ac9609eff28dc408d69e7f9e 100644 (file)
@@ -2365,9 +2365,9 @@ static void rna_def_modifier_bevel(BlenderRNA *brna)
        RNA_def_property_string_funcs(prop, NULL, NULL, "rna_BevelModifier_defgrp_name_set");
        RNA_def_property_update(prop, 0, "rna_Modifier_update");
 
-       prop = RNA_def_property(srna, "overlap_ok", PROP_BOOLEAN, PROP_NONE);
-       RNA_def_property_boolean_sdna(prop, NULL, "flags", BME_BEVEL_OVERLAP_OK);
-       RNA_def_property_ui_text(prop, "Allow Overlap", "Do not clamp the width to avoid overlap");
+       prop = RNA_def_property(srna, "use_clamp_overlap", PROP_BOOLEAN, PROP_NONE);
+       RNA_def_property_boolean_negative_sdna(prop, NULL, "flags", BME_BEVEL_OVERLAP_OK);
+       RNA_def_property_ui_text(prop, "Clamp Overlap", "Clamp the width to avoid overlap");
        RNA_def_property_update(prop, 0, "rna_Modifier_update");
 #endif