- Timestamp:
- Jan 5, 2011, 12:19:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenInventor/src/SoPolyhedron.cc
r609 r1348 343 343 separator->addChild(indexedFaceSet); 344 344 345 SbBool empty = TRUE;346 347 345 int nvert = fPolyhedron->GetNoVertices(); 348 346 int nface = fPolyhedron->GetNoFacets(); … … 374 372 coords[ipoint] = icoord + ipoint; 375 373 ipoint++; 376 empty = FALSE;377 378 374 } while (notLastEdge); 379 375 … … 397 393 delete [] points; 398 394 399 if(empty==TRUE) { 400 separator->unref(); 401 } else { 402 alternateRep.setValue(separator); 403 } 395 alternateRep.setValue(separator); 404 396 405 397 } else {
Note: See TracChangeset
for help on using the changeset viewer.