Changeset 1088 for GTP/trunk/Lib/Geom


Ignore:
Timestamp:
07/06/06 12:55:23 (18 years ago)
Author:
gumbau
Message:

Fixed memory consumption issue

Location:
GTP/trunk/Lib/Geom/shared/GTGeometry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoLodStripsLibrary.cpp

    r1087 r1088  
    396396         
    397397        //      Copy strips. 
    398         dataRetrievalInterface=create_index_data_func(total_strip_size*2); // temporal! 
     398        unsigned int numDegenerated = 2*mTotalStrips - 2; 
     399        dataRetrievalInterface=create_index_data_func(total_strip_size+numDegenerated); // temporal! 
    399400        dataRetrievalInterface->Begin(); 
    400401 
Note: See TracChangeset for help on using the changeset viewer.