Show
Ignore:
Timestamp:
11/21/03 21:21:41 (11 years ago)
Author:
robert
Message:

Removed the ScalarBar:: from the from of the ScalarPrinter::printScalar() calls.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgscalarbar/osgscalarbar.cpp

    r2390 r2442  
    4646        { 
    4747            std::cout<<"In MyScalarPrinter::printScalar"<<std::endl; 
    48             if(scalar==0.0f) return ScalarBar::ScalarPrinter::printScalar(scalar)+" Bottom"; 
    49             else if(scalar==0.5f) return ScalarBar::ScalarPrinter::printScalar(scalar)+" Middle"; 
    50             else if(scalar==1.0f) return ScalarBar::ScalarPrinter::printScalar(scalar)+" Top"; 
    51             else return ScalarBar::ScalarPrinter::printScalar(scalar); 
     48            if(scalar==0.0f) return ScalarPrinter::printScalar(scalar)+" Bottom"; 
     49            else if(scalar==0.5f) return ScalarPrinter::printScalar(scalar)+" Middle"; 
     50            else if(scalar==1.0f) return ScalarPrinter::printScalar(scalar)+" Top"; 
     51            else return ScalarPrinter::printScalar(scalar); 
    5252        } 
    5353    };