Fix bug #19715: remove doubles was not working.

This commit is contained in:
Brecht Van Lommel 2009-10-26 12:06:14 +00:00
parent 3f7f2b869c
commit d46232a792

@ -484,8 +484,8 @@ static int removedoublesflag_exec(bContext *C, wmOperator *op)
EditMesh *em= BKE_mesh_get_editmesh(((Mesh *)obedit->data));
/*char msg[100];*/
/*int cnt =*/ removedoublesflag(em,1,0,RNA_float_get(op->ptr, "limit"));
/*XXX this messes up last operator panel
int cnt = removedoublesflag(em,1,0,RNA_float_get(op->ptr, "limit"));
if(cnt)
{
sprintf(msg, "Removed %d vertices", cnt);