bug on search cycle corrected (it was looping forever with vertices and twice slower with other elements)

This commit is contained in:
ganovelli 2009-01-29 11:27:32 +00:00
parent b9949e8910
commit 573c151241
1 changed files with 2 additions and 2 deletions

View File

@ -476,8 +476,8 @@ namespace vcg{
CurrentElem = Elems.rbegin(); CurrentElem = Elems.rbegin();
if ((!End())&& ToUpdate()) if ((!End())&& ToUpdate())
while ((!End())&& Refresh()&&(!_EndGrid())) do{_NextShell();}
_NextShell(); while (Refresh()&&(!_EndGrid()));
} }
ObjType &operator *(){return *((*CurrentElem).elem);} ObjType &operator *(){return *((*CurrentElem).elem);}