remove unused function. also typo
This commit is contained in:
@@ -218,7 +218,7 @@ void WM_main_remove_notifier_reference(const void *reference)
|
|||||||
note_next = note->next;
|
note_next = note->next;
|
||||||
|
|
||||||
if (note->reference == reference) {
|
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) */
|
* which may be looping on the data (deleting screens) */
|
||||||
wm_notifier_clear(note);
|
wm_notifier_clear(note);
|
||||||
}
|
}
|
||||||
|
@@ -548,15 +548,3 @@ void RAS_MeshObject::SchedulePolygons(int drawingmode)
|
|||||||
m_bMeshModified = true;
|
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;
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user