Cleanup: add use prefix for boolean

This commit is contained in:
Campbell Barton
2021-03-08 14:39:00 +11:00
parent 1ba15f1f7f
commit c950e08cbb
2 changed files with 2 additions and 2 deletions

View File

@@ -2789,7 +2789,7 @@ static void rna_def_modifier_boolean(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Self", "Allow self-intersection in operands");
RNA_def_property_update(prop, 0, "rna_Modifier_update");
prop = RNA_def_property(srna, "hole_tolerant", PROP_BOOLEAN, PROP_NONE);
prop = RNA_def_property(srna, "use_hole_tolerant", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", eBooleanModifierFlag_HoleTolerant);
RNA_def_property_ui_text(prop, "Hole tolerant", "Better results when there are holes (slower)");
RNA_def_property_update(prop, 0, "rna_Modifier_update");

View File

@@ -876,7 +876,7 @@ static void solver_options_panel_draw(const bContext *UNUSED(C), Panel *panel)
if (operand_object) {
uiItemR(col, ptr, "use_self", 0, NULL, ICON_NONE);
}
uiItemR(col, ptr, "hole_tolerant", 0, NULL, ICON_NONE);
uiItemR(col, ptr, "use_hole_tolerant", 0, NULL, ICON_NONE);
}
else {
uiItemR(col, ptr, "double_threshold", 0, NULL, ICON_NONE);