[Plib-cvs] plib/src/ssg ssgLoadMDL.cxx,1.41,1.42
Brought to you by:
sjbaker
From: Wolfram K. <wol...@us...> - 2002-07-22 14:35:10
|
Update of /cvsroot/plib/plib/src/ssg In directory usw-pr-cvs1:/tmp/cvs-serv27067 Modified Files: ssgLoadMDL.cxx Log Message: Using removeUnusedVertices to optimize MDLs while they are loaded. Index: ssgLoadMDL.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/ssg/ssgLoadMDL.cxx,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- ssgLoadMDL.cxx 20 Jun 2002 20:07:52 -0000 1.41 +++ ssgLoadMDL.cxx 22 Jul 2002 14:35:07 -0000 1.42 @@ -1170,6 +1170,7 @@ } ssgBranch* grp = getCurrGroup(); + ((ssgVtxArray *)curr_part_)->removeUnusedVertices(); grp->addKid( current_options -> createLeaf(curr_part_, NULL) ); } break; @@ -1234,6 +1235,7 @@ } ssgBranch* grp = getCurrGroup(); + ((ssgVtxArray *)curr_part_)->removeUnusedVertices(); grp->addKid( current_options -> createLeaf(curr_part_, NULL) ); } break; @@ -1284,6 +1286,7 @@ } ssgBranch* grp = getCurrGroup(); + ((ssgVtxArray *)curr_part_)->removeUnusedVertices(); grp->addKid( current_options -> createLeaf(curr_part_, NULL) ); } break; @@ -1338,6 +1341,7 @@ } ssgBranch* grp = getCurrGroup(); + ((ssgVtxArray *)curr_part_)->removeUnusedVertices(); grp->addKid( current_options -> createLeaf(curr_part_, NULL) ); } break; @@ -1491,3 +1495,4 @@ #endif + |