Show
Ignore:
Timestamp:
06/14/11 18:54:20 (3 years ago)
Author:
robert
Message:

Replaced .osg with .osgt file usage

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgunittests/FileNameUtils.cpp

    r12292 r12529  
    3030    strings.push_back(std::string("")); 
    3131    strings.push_back(std::string("myfile")); 
    32     strings.push_back(std::string(".osg")); 
    33     strings.push_back(std::string("myfile.osg")); 
    34     strings.push_back(std::string("/myfile.osg")); 
    35     strings.push_back(std::string("home/robert/myfile.osg")); 
    36     strings.push_back(std::string("/home/robert/myfile.osg")); 
    37     strings.push_back(std::string("\\myfile.osg")); 
    38     strings.push_back(std::string("home\\robert\\myfile.osg")); 
    39     strings.push_back(std::string("\\home\\robert\\myfile.osg")); 
    40     strings.push_back(std::string("\\home/robert\\myfile.osg")); 
    41     strings.push_back(std::string("\\home\\robert/myfile.osg")); 
     32    strings.push_back(std::string(".osgt")); 
     33    strings.push_back(std::string("myfile.osgt")); 
     34    strings.push_back(std::string("/myfile.osgt")); 
     35    strings.push_back(std::string("home/robert/myfile.osgt")); 
     36    strings.push_back(std::string("/home/robert/myfile.osgt")); 
     37    strings.push_back(std::string("\\myfile.osgt")); 
     38    strings.push_back(std::string("home\\robert\\myfile.osgt")); 
     39    strings.push_back(std::string("\\home\\robert\\myfile.osgt")); 
     40    strings.push_back(std::string("\\home/robert\\myfile.osgt")); 
     41    strings.push_back(std::string("\\home\\robert/myfile.osgt")); 
    4242    strings.push_back(std::string("home/robert/")); 
    4343    strings.push_back(std::string("\\home\\robert\\")); 
    4444    strings.push_back(std::string("home/robert/myfile")); 
    4545    strings.push_back(std::string("\\home\\robert\\myfile")); 
    46     strings.push_back(std::string("home/robert/.osg")); 
    47     strings.push_back(std::string("\\home\\robert\\.osg")); 
    48     strings.push_back(std::string("home/robert/myfile.ext.osg")); 
    49     strings.push_back(std::string("home\\robert\\myfile.ext.osg")); 
     46    strings.push_back(std::string("home/robert/.osgt")); 
     47    strings.push_back(std::string("\\home\\robert\\.osgt")); 
     48    strings.push_back(std::string("home/robert/myfile.ext.osgt")); 
     49    strings.push_back(std::string("home\\robert\\myfile.ext.osgt")); 
    5050 
    5151    for(Strings::iterator itr = strings.begin();