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();
|
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);}
|
||||||
|
|
Loading…
Reference in New Issue