Changeset 1026


Ignore:
Timestamp:
06/20/06 13:30:48 (18 years ago)
Author:
gumbau
Message:

Sinconnización

Location:
GTP/trunk/Lib/Geom/shared
Files:
3 deleted
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Geom/shared/GTGeometry/GTGeometry.vcproj

    r1019 r1026  
    263263                                </File> 
    264264                                <File 
    265                                         RelativePath=".\src\libs\leaves\Hoja.cpp"> 
    266                                         <FileConfiguration 
    267                                                 Name="Debug|Win32"> 
    268                                                 <Tool 
    269                                                         Name="VCCLCompilerTool" 
    270                                                         ObjectFile="$(IntDir)/$(InputName)1.obj"/> 
    271                                         </FileConfiguration> 
    272                                         <FileConfiguration 
    273                                                 Name="Release|Win32"> 
    274                                                 <Tool 
    275                                                         Name="VCCLCompilerTool" 
    276                                                         ObjectFile="$(IntDir)/$(InputName)1.obj"/> 
    277                                         </FileConfiguration> 
     265                                        RelativePath=".\src\libs\leaves\Leaf.cpp"> 
    278266                                </File> 
    279267                                <File 
  • GTP/trunk/Lib/Geom/shared/GeoTool/src/GeoMeshViewUI.cpp

    r1024 r1026  
    10021002} 
    10031003 
     1004VertexBuffer *origSubMeshVB=NULL; 
     1005int orig_numindices=0; 
     1006Index *orig_indices=NULL; 
     1007 
    10041008//--------------------------------------------------------------------------- 
    10051009//      Button Process Callback 
     
    10141018        mProcessBar->position(0); 
    10151019 
     1020        origSubMeshVB=NULL; 
     1021     
    10161022        //      Initialize error flag. 
    10171023        error   =       false; 
     
    10791085                                else 
    10801086                                { 
     1087                                        origSubMeshVB=mGeoMesh->mSubMesh[idMeshLeaves].mVertexBuffer->Clone(); 
     1088                                        orig_numindices=mGeoMesh->mSubMesh[idMeshLeaves].mIndexCount; 
     1089                                        orig_indices=new Index[orig_numindices]; 
     1090                                        for (int i=0; i<orig_numindices; i++) 
     1091                                                orig_indices[i]=mGeoMesh->mSubMesh[idMeshLeaves].mIndex[i]; 
     1092 
    10811093                                        std::cout << "Simplificando hojas..."; 
    10821094                                        simplifyLeavesCollapse(); 
     
    13231335                                                file_name[strlen(file_name) - 4]        =       '\0'; 
    13241336                                                 
    1325                                                 mesh_saver->save(       mGeoMesh, 
    1326                                                                                                                         strcat(file_name,".mesh")); 
     1337                                                mesh_saver->leavesSubMesh=idMeshLeaves; 
     1338                                                mesh_saver->leavesVB=origSubMeshVB; 
     1339                                                mesh_saver->numindices=orig_numindices; 
     1340                                                mesh_saver->indices=orig_indices; 
     1341                                                mesh_saver->save(mGeoMesh,strcat(file_name,".mesh")); 
    13271342                                                 
    13281343                                                delete  mesh_saver; 
Note: See TracChangeset for help on using the changeset viewer.