remove unused function. also typo

This commit is contained in:
2013-08-27 23:34:16 +00:00
parent 75383a79f6
commit 4d2b50ad74
2 changed files with 1 additions and 13 deletions

View File

@@ -548,15 +548,3 @@ void RAS_MeshObject::SchedulePolygons(int drawingmode)
m_bMeshModified = true;
}
}
static int get_def_index(Object* ob, const char* vgroup)
{
bDeformGroup *curdef;
int index = 0;
for (curdef = (bDeformGroup*)ob->defbase.first; curdef; curdef=(bDeformGroup*)curdef->next, index++)
if (!strcmp(curdef->name, vgroup))
return index;
return -1;
}