diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-08 06:39:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-08 06:39:28 +0300 |
commit | c950e08cbb0bb1b53802768a52382c4e6611d9f2 (patch) | |
tree | 70488636098d8eb8142879549dae4f98b326cfec /source/blender | |
parent | 1ba15f1f7f94616d52e8bbd80e22c9e34e45a81e (diff) |
Cleanup: add use prefix for boolean
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 2 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_boolean.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 55d81bd3155..4f53a1e6c2b 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -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"); diff --git a/source/blender/modifiers/intern/MOD_boolean.c b/source/blender/modifiers/intern/MOD_boolean.c index 0bfd0e54304..74a0687e64b 100644 --- a/source/blender/modifiers/intern/MOD_boolean.c +++ b/source/blender/modifiers/intern/MOD_boolean.c @@ -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); |