editmesh's seperate was crashing because the em->selected wasnt being flushed along with the seperated data.

easy 1 liner, seperate now clears the selection order linkedList.

Watch out for places where removing verts might not remove the selection order data.
This commit is contained in:
Campbell Barton
2006-05-02 10:43:58 +00:00
parent c3c0c38ad0
commit bd09b7703a

View File

@@ -1333,6 +1333,8 @@ void separate_mesh(void)
return;
}
if(em->selected.first) BLI_freelistN(&(em->selected)); /* clear the selection order */
EM_selectmode_set(); // enforce full consistant selection flags
/* we are going to abuse the system as follows: