use more rna-constant name for bevel clamping.
This commit is contained in:
@@ -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)
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user