Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-01-26 16:50:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-26 16:50:17 +0300
commite307f6c6a0476d0ad68aded9033ec4f18532b58a (patch)
tree118431f3a2321a2e5a74b49e09c23c01294ed17c /source/blender/blenloader
parent50a7cdd1161764b60c87f6deabd2bba38a400de6 (diff)
rename defgroup functions to be more consistant.
* no functional changes *
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 46051555a81..5c09f866b3a 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -7813,10 +7813,10 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
}
}
if(ob->soft && ob->soft->vertgroup==0) {
- bDeformGroup *locGroup = get_named_vertexgroup(ob, "SOFTGOAL");
+ bDeformGroup *locGroup = defgroup_find_name(ob, "SOFTGOAL");
if(locGroup){
/* retrieve index for that group */
- ob->soft->vertgroup = 1 + get_defgroup_num(ob, locGroup);
+ ob->soft->vertgroup = 1 + defgroup_find_index(ob, locGroup);
}
}
}
@@ -8502,7 +8502,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
for(curdef= ob->defbase.first; curdef; curdef=curdef->next) {
/* replace an empty-string name with unique name */
if (curdef->name[0] == '\0') {
- unique_vertexgroup_name(curdef, ob);
+ defgroup_unique_name(curdef, ob);
}
}