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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user