Ignore:
Timestamp:
03/26/07 08:46:55 (17 years ago)
Author:
gumbau
Message:
 
File:
1 edited

Legend:

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

    r2194 r2291  
    2424        *mInitialMesh   =       *m; 
    2525         
    26         objmesh                                 =       m; 
    2726        mGeoMesh                                =       NULL; 
    2827        msimpsequence           =       NULL; 
     
    120119} 
    121120 
    122  
    123121////////////////////////////////////////////////////////////////////////// 
    124122//                                                                                                                                                                                                                                                                                      // 
     
    150148void GeometryBasedSimplifier::Simplify(Real paramlod) 
    151149{ 
    152         SimplificationMethod *m_qslim   =       new SimplificationMethod(objmesh); 
     150        SimplificationMethod *m_qslim   =       new SimplificationMethod(mInitialMesh); 
    153151 
    154152        m_qslim->setMeshLeaves(indexMeshLeaves); 
     
    169167void GeometryBasedSimplifier::Simplify(uint32 numvertices) 
    170168{ 
    171         SimplificationMethod *m_qslim   =       new SimplificationMethod(objmesh); 
     169        SimplificationMethod *m_qslim   =       new SimplificationMethod(mInitialMesh); 
    172170         
    173171        m_qslim->setMeshLeaves(indexMeshLeaves); 
Note: See TracChangeset for help on using the changeset viewer.