Show
Ignore:
Timestamp:
03/21/12 18:36:20 (2 years ago)
Author:
robert
Message:

Ran script to remove trailing spaces and tabs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/ive/Camera.cpp

    r10762 r13041  
    4747        out->writeStateAttribute(getViewport()); 
    4848    } 
    49      
     49 
    5050    out->writeInt(getTransformOrder()); 
    5151 
     
    5353    out->writeMatrixd(getProjectionMatrix()); 
    5454    out->writeMatrixd(getViewMatrix()); 
    55      
     55 
    5656    out->writeInt(getRenderOrder()); 
    5757    out->writeInt(getRenderTargetImplementation()); 
    5858    out->writeInt(getRenderTargetFallback()); 
    59   
     59 
    6060    out->writeUInt(getDrawBuffer()); 
    6161    out->writeUInt(getReadBuffer()); 
    62       
     62 
    6363    const BufferAttachmentMap& baf = getBufferAttachmentMap(); 
    6464    out->writeUInt(baf.size()); 
     
    8181        if(attachment._texture.valid()) 
    8282            out->writeStateAttribute(attachment._texture.get()); 
    83              
     83 
    8484        out->writeUInt(attachment._level); 
    8585        out->writeUInt(attachment._face); 
    8686        out->writeBool(attachment._mipMapGeneration); 
    8787    } 
    88       
     88 
    8989} 
    9090 
     
    122122            if (vp) setViewport(vp); 
    123123        } 
    124      
     124 
    125125        setTransformOrder((TransformOrder)in->readInt()); 
    126126 
     
    129129        setViewMatrix(in->readMatrixd()); 
    130130 
    131      
     131 
    132132        setRenderOrder((RenderOrder)in->readInt()); 
    133      
     133 
    134134        RenderTargetImplementation impl = (RenderTargetImplementation)in->readInt(); 
    135135        RenderTargetImplementation fallback = (RenderTargetImplementation)in->readInt(); 
    136136        setRenderTargetImplementation(impl, fallback); 
    137   
     137 
    138138        setDrawBuffer((GLenum)in->readUInt()); 
    139139        setReadBuffer((GLenum)in->readUInt()); 
    140       
     140 
    141141        _bufferAttachmentMap.clear(); 
    142          
     142 
    143143        unsigned int numAttachments = in->readUInt(); 
    144144        for(unsigned int i=0; i<numAttachments; ++i) 
     
    147147            if (in->getVersion() < VERSION_0036 ) 
    148148            { 
    149                 // prior to VERSION_0036, there was no PACKED_DEPTH_STENCIL_BUFFER so we have to  
     149                // prior to VERSION_0036, there was no PACKED_DEPTH_STENCIL_BUFFER so we have to 
    150150                // bump up the value of one to make sure it maps to the original location. 
    151151                if (buffer_component >= PACKED_DEPTH_STENCIL_BUFFER) 
     
    157157            Attachment& attachment = _bufferAttachmentMap[BufferComponent(buffer_component)]; 
    158158            attachment._internalFormat = (GLenum)in->readUInt(); 
    159              
     159 
    160160            if (in->readBool()) 
    161161            {