~ubuntu-branches/ubuntu/trusty/openscenegraph/trusty

« back to all changes in this revision

Viewing changes to OpenSceneGraph/src/osgWrappers/serializers/osgTerrain/Layer.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2013-11-12 02:21:14 UTC
  • mfrom: (31.1.3 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20131112022114-qaxfhdnhn88vnh10
Tags: 3.2.0~rc1-1ubuntu1
Fix deprecated url_feof.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        os << (unsigned int)1 << ndv->getValue() << std::endl;
40
40
        return true;
41
41
    }
42
 
    
 
42
 
43
43
    const osgTerrain::ValidRange* vr = dynamic_cast<const osgTerrain::ValidRange*>( layer.getValidDataOperator() );
44
44
    if ( vr )
45
45
    {
46
46
        os << (unsigned int)2 << vr->getMinValue() << vr->getMaxValue() << std::endl;
47
47
        return true;
48
48
    }
49
 
    
 
49
 
50
50
    os << (unsigned int)0 << std::endl;
51
51
    return true;
52
52
}