remove unused function. also typo

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

View File

@@ -218,7 +218,7 @@ void WM_main_remove_notifier_reference(const void *reference)
note_next = note->next;
if (note->reference == reference) {
/* don't remove becauise this causes problems for #wm_event_do_notifiers
/* don't remove because this causes problems for #wm_event_do_notifiers
* which may be looping on the data (deleting screens) */
wm_notifier_clear(note);
}

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;
}