diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-09-30 08:01:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-30 08:09:00 +0300 |
commit | c0a563ffe814f227411f6b6ce6276a780245ccea (patch) | |
tree | 5d884f48da3e9d26ea3cdf0bbb405ce9a0367b6e /source/blender/modifiers | |
parent | e9a663865473db06941063b8ce75d6ff4b3d0884 (diff) |
Cleanup: use 'use_' prefix for RNA booleans
Some of the naming was quite misleading.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_mesh_to_volume.cc | 2 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_weighted_normal.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_mesh_to_volume.cc b/source/blender/modifiers/intern/MOD_mesh_to_volume.cc index 4ec8e8fc44e..1cb141feaf4 100644 --- a/source/blender/modifiers/intern/MOD_mesh_to_volume.cc +++ b/source/blender/modifiers/intern/MOD_mesh_to_volume.cc @@ -150,7 +150,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel) { uiLayout *col = uiLayoutColumn(layout, false); - uiItemR(col, ptr, "fill_volume", 0, NULL, ICON_NONE); + uiItemR(col, ptr, "use_fill_volume", 0, NULL, ICON_NONE); uiItemR(col, ptr, "exterior_band_width", 0, NULL, ICON_NONE); uiLayout *subcol = uiLayoutColumn(col, false); diff --git a/source/blender/modifiers/intern/MOD_weighted_normal.c b/source/blender/modifiers/intern/MOD_weighted_normal.c index 16c389d3453..2d8669be8e5 100644 --- a/source/blender/modifiers/intern/MOD_weighted_normal.c +++ b/source/blender/modifiers/intern/MOD_weighted_normal.c @@ -731,7 +731,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel) col = uiLayoutColumn(layout, false); uiItemR(col, ptr, "keep_sharp", 0, NULL, ICON_NONE); - uiItemR(col, ptr, "face_influence", 0, NULL, ICON_NONE); + uiItemR(col, ptr, "use_face_influence", 0, NULL, ICON_NONE); modifier_vgroup_ui(layout, ptr, &ob_ptr, "vertex_group", "invert_vertex_group", NULL); |