Cleanup: add use prefix for boolean
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user