Show
Ignore:
Timestamp:
01/04/08 12:26:21 (6 years ago)
Author:
robert
Message:

From Brede Johansen, support for contiuation records.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/OpenFlight/RoadRecords.cpp

    r7748 r7756  
    4141        META_setID(_roadSegment) 
    4242        META_setComment(_roadSegment) 
    43         META_setMatrix(_roadSegment) 
    4443        META_setMultitexture(_roadSegment) 
    4544        META_addChild(_roadSegment) 
     45        META_dispose(_roadSegment) 
    4646 
    4747    protected: 
    4848 
    4949        virtual ~RoadSegment() {} 
    50  
    5150        virtual void readRecord(RecordInputStream& in, Document& /*document*/) 
    5251        { 
     
    7978        META_setID(_roadConstruction) 
    8079        META_setComment(_roadConstruction) 
    81         META_setMatrix(_roadConstruction) 
    8280        META_setMultitexture(_roadConstruction) 
    8381        META_addChild(_roadConstruction) 
     82        META_dispose(_roadConstruction) 
    8483 
    8584    protected: 
    8685 
    8786        virtual ~RoadConstruction() {} 
    88  
    8987        virtual void readRecord(RecordInputStream& in, Document& /*document*/) 
    9088        { 
     
    118116        META_setID(_roadPath) 
    119117        META_setComment(_roadPath) 
    120         META_setMatrix(_roadPath) 
    121118        META_setMultitexture(_roadPath) 
    122119        META_addChild(_roadPath) 
     120        META_dispose(_roadPath) 
    123121 
    124122    protected: 
    125123 
    126124        virtual ~RoadPath() {} 
    127  
    128125        virtual void readRecord(RecordInputStream& /*in*/, Document& /*document*/) 
    129126        {