Changeset 1026 for GTP/trunk/Lib/Geom
- Timestamp:
- 06/20/06 13:30:48 (19 years ago)
- 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 263 263 </File> 264 264 <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"> 278 266 </File> 279 267 <File -
GTP/trunk/Lib/Geom/shared/GeoTool/src/GeoMeshViewUI.cpp
r1024 r1026 1002 1002 } 1003 1003 1004 VertexBuffer *origSubMeshVB=NULL; 1005 int orig_numindices=0; 1006 Index *orig_indices=NULL; 1007 1004 1008 //--------------------------------------------------------------------------- 1005 1009 // Button Process Callback … … 1014 1018 mProcessBar->position(0); 1015 1019 1020 origSubMeshVB=NULL; 1021 1016 1022 // Initialize error flag. 1017 1023 error = false; … … 1079 1085 else 1080 1086 { 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 1081 1093 std::cout << "Simplificando hojas..."; 1082 1094 simplifyLeavesCollapse(); … … 1323 1335 file_name[strlen(file_name) - 4] = '\0'; 1324 1336 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")); 1327 1342 1328 1343 delete mesh_saver;
Note: See TracChangeset
for help on using the changeset viewer.