Cleanup: use 'BKE_' prefix for BKE_deform API calls

- Use 'BKE_object_defgroup' prefix for object functions.

- Rename 'defvert_verify_index' to 'defvert_ensure_index'
  since this adds the group if it isn't found.
This commit is contained in:
2020-03-06 12:50:56 +11:00
parent 1af83aa2dd
commit bba4a09b2f
83 changed files with 474 additions and 452 deletions

View File

@@ -1396,7 +1396,7 @@ static void psys_vg_name_set__internal(PointerRNA *ptr, const char *value, int i
psys->vgroup[index] = 0;
}
else {
int defgrp_index = defgroup_name_index(ob, value);
int defgrp_index = BKE_object_defgroup_name_index(ob, value);
if (defgrp_index == -1) {
return;