-> Sanity Check for Selection History

Some operations like edge loop deselect would cause selection history
to become invalid. Added a sanity check to countall() to try and catch
these when they happen.
This commit is contained in:
2006-09-28 02:37:35 +00:00
parent b4e97c01ff
commit bd6e5d20c7
3 changed files with 17 additions and 2 deletions

View File

@@ -612,7 +612,7 @@ void countall()
if(efa->f & SELECT) G.totfacesel++;
}
/*add code to strip editselections*/
EM_validate_selections();
}
else if (G.obedit->type==OB_ARMATURE){
for (ebo=G.edbo.first;ebo;ebo=ebo->next){