Ignore:
Timestamp:
Jan 5, 2011, 12:19:12 PM (14 years ago)
Author:
garnier
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/OpenInventor/src/SoPolyhedron.cc

    r609 r1348  
    343343    separator->addChild(indexedFaceSet);
    344344
    345     SbBool empty = TRUE;
    346 
    347345    int nvert = fPolyhedron->GetNoVertices();
    348346    int nface = fPolyhedron->GetNoFacets();
     
    374372        coords[ipoint] = icoord + ipoint;
    375373        ipoint++;
    376         empty = FALSE;
    377 
    378374      } while (notLastEdge);
    379375
     
    397393    delete [] points;
    398394
    399     if(empty==TRUE) {
    400       separator->unref();
    401     } else {
    402       alternateRep.setValue(separator);
    403     }
     395    alternateRep.setValue(separator);
    404396
    405397  } else {
Note: See TracChangeset for help on using the changeset viewer.