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/OpenFlight/expPrimaryRecords.cpp

    r12292 r13041  
    1 /*  
     1/* 
    22 * This library is open source and may be redistributed and/or modified under 
    33 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or (at 
    44 * your option) any later version. The full license is in the LICENSE file 
    55 * included with this distribution, and on the openscenegraph.org website. 
    6  *  
     6 * 
    77 * This library is distributed in the hope that it will be useful, but 
    88 * WITHOUT ANY WARRANTY; without even the implied warranty of 
     
    212212 
    213213 
    214 //  
     214// 
    215215//  Since OpenFlight doesn't have 'Sequence' records---just Group records that 
    216216//  may, optionally, be animated---this routine sets the animation-related 
     
    220220FltExportVisitor::writeSequence( const osg::Sequence& sequence ) 
    221221{ 
    222      
     222 
    223223    int32 flags = 0, loopCount = 0; 
    224224    float32 loopDuration = 0.0f, lastFrameDuration = 0.0f; 
     
    227227    int firstChildDisplayed, lastChildDisplayed; 
    228228    sequence.getInterval(mode, firstChildDisplayed, lastChildDisplayed); 
    229      
     229 
    230230    if (firstChildDisplayed == 0) 
    231231    { 
     
    423423    // Selectively turn off overrides for resources we don't need 
    424424    const ParentPools* pp = dynamic_cast<const ParentPools*>(proxy.getUserData() ); 
    425      
     425 
    426426    if (pp && pp->getColorPool() ) 
    427427      flags &= ~COLOR_PALETTE_OVERRIDE; 
     
    533533    int32 numWordsPerMask = ms->getNumChildren() / 32; 
    534534    if (ms->getNumChildren() % 32 != 0) ++numWordsPerMask; 
    535      
     535 
    536536    uint16 length( 28 + numMasks * numWordsPerMask * sizeof(int32) ); 
    537537    IdHelper id(*this, ms->getName() ); 
     
    549549    { 
    550550        // ... write out the set of 32-bit words comprising the mask 
    551         uint32 maskWord = 0;  
     551        uint32 maskWord = 0; 
    552552        const osgSim::MultiSwitch::ValueList& maskBits = ms->getValueList(i); 
    553553 
     
    567567 
    568568        // If the mask size wasn't a multiple of 32, need to write out 
    569         // the final word containing the 'remainder' bits  
     569        // the final word containing the 'remainder' bits 
    570570        if (maskBits.size() % 32 != 0) 
    571571        { 
     
    599599 
    600600    // Bust the mask up into as many 32-bit words as are necessary to hold it 
    601     uint32 maskWord = 0;  
     601    uint32 maskWord = 0; 
    602602    const osg::Switch::ValueList& maskBits = sw->getValueList(); 
    603603 
     
    617617 
    618618    // If the mask size wasn't a multiple of 32, need to write out 
    619     // the final word containing the 'remainder' bits  
     619    // the final word containing the 'remainder' bits 
    620620    if (maskBits.size() % 32 != 0) 
    621621    {