bug on search cycle corrected (it was looping forever with vertices and twice slower with other elements)
This commit is contained in:
parent
b9949e8910
commit
573c151241
|
@ -476,8 +476,8 @@ namespace vcg{
|
|||
CurrentElem = Elems.rbegin();
|
||||
|
||||
if ((!End())&& ToUpdate())
|
||||
while ((!End())&& Refresh()&&(!_EndGrid()))
|
||||
_NextShell();
|
||||
do{_NextShell();}
|
||||
while (Refresh()&&(!_EndGrid()));
|
||||
}
|
||||
|
||||
ObjType &operator *(){return *((*CurrentElem).elem);}
|
||||
|
|
Loading…
Reference in New Issue