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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2005-01-13 02:57:33 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2005-01-13 02:57:33 +0300
commit5161998bbe2c76df281a920e96523298e5e8baa6 (patch)
tree2b9217462b2cc74afe5a968ea50c7dbff8a3f60d /source/blender/src/editdeform.c
parent912ef80bdc464de00fd2452c51bcd5cd3da050d6 (diff)
Softbody commit broke compilation of blenderplayer. There was a dependancy
from blenkernel/ to src/. Moved the offending functions to blenkernel...
Diffstat (limited to 'source/blender/src/editdeform.c')
-rw-r--r--source/blender/src/editdeform.c58
1 files changed, 0 insertions, 58 deletions
diff --git a/source/blender/src/editdeform.c b/source/blender/src/editdeform.c
index 583b4cb5133..5ac3681743c 100644
--- a/source/blender/src/editdeform.c
+++ b/source/blender/src/editdeform.c
@@ -204,48 +204,6 @@ void create_dverts(Mesh *me)
}
}
-int get_defgroup_num (Object *ob, bDeformGroup *dg)
-{
- /* Fetch the location of this deform group
- * within the linked list of deform groups.
- * (this number is stored in the deform
- * weights of the deform verts to link them
- * to this deform group) deform deform
- * deform blah blah deform
- */
-
- bDeformGroup *eg;
- int def_nr;
-
- eg = ob->defbase.first;
- def_nr = 0;
-
- /* loop through all deform groups
- */
- while (eg != NULL){
-
- /* if the current deform group is
- * the one we are after, return
- * def_nr
- */
- if (eg == dg){
- break;
- }
- ++def_nr;
- eg = eg->next;
- }
-
- /* if there was no deform group found then
- * return -1 (should set up a nice symbolic
- * constant for this)
- */
- if (eg == NULL) return -1;
-
- return def_nr;
-
-}
-
-
void remove_vert_def_nr (Object *ob, int def_nr, int vertnum)
{
/* This routine removes the vertex from the deform
@@ -590,22 +548,6 @@ void verify_defgroups (Object *ob)
}
}
-bDeformGroup *get_named_vertexgroup(Object *ob, char *name)
-{
- /* return a pointer to the deform group with this name
- * or return NULL otherwise.
- */
- bDeformGroup *curdef;
-
- for (curdef = ob->defbase.first; curdef; curdef=curdef->next){
- if (!strcmp(curdef->name, name)){
- return curdef;
- }
- }
- return NULL;
-}
-
-
void unique_vertexgroup_name (bDeformGroup *dg, Object *ob)
{
char tempname[64];