[Plib-cvs] plib/src/ssg ssgList.cxx,1.8,1.9
Brought to you by:
sjbaker
From: Wolfram K. <wol...@us...> - 2004-09-13 11:16:52
|
Update of /cvsroot/plib/plib/src/ssg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26808/ssg Modified Files: ssgList.cxx Log Message: Speed optimisation by Mr. Fay John F. Index: ssgList.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/ssg/ssgList.cxx,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- ssgList.cxx 2 Sep 2002 06:05:48 -0000 1.8 +++ ssgList.cxx 13 Sep 2004 11:16:43 -0000 1.9 @@ -91,7 +91,7 @@ void ssgList::removeAllEntities () { while ( total > 0 ) - removeEntity ( (unsigned int) 0 ) ; + removeEntity ( (unsigned int) total-1 ) ; } void ssgList::removeEntity ( unsigned int n ) @@ -112,7 +112,8 @@ ssgList::removeEntity ( n ) ; e -> deadBeefCheck () ; - ssgDeRefDelete ( e ) ; + // wk 20.4.2002 problems with mywalk... when merging hiearchy nodes: + ssgDeRefDelete ( e ) ; } |