Show
Ignore:
Timestamp:
07/14/06 16:04:54 (8 years ago)
Author:
robert
Message:

Removed the default loading of bluemarble.ive

Files:
1 modified

Legend:

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

    r5189 r5297  
    212212    xform->setUpdateCallback(new osg::AnimationPathCallback(bb.center(),osg::Vec3(0.0f,0.0f,1.0f),osg::inDegrees(10.0f))); 
    213213 
    214     osg::Node* bluemarble = osgDB::readNodeFile(filename.c_str()); 
     214    osg::Node* bluemarble = filename.empty() ? 0 : osgDB::readNodeFile(filename.c_str()); 
    215215    if (bluemarble) 
    216216    { 
     
    478478     
    479479    if (arguments.argc()>1) createLogo(arguments[1]); 
    480     else node = createLogo("bluemarble.ive"); 
     480    else node = createLogo(""); 
    481481 
    482482    // add model to viewer.