Modified Files:
simgear/scene/model/CheckSceneryVisitor.hxx
simgear/scene/model/CheckSceneryVisitor.cxx
using namespace simgear;
-CheckSceneryVisitor::CheckSceneryVisitor(osgDB::DatabasePager* dbp, osg::Vec3 &position, double range)
+CheckSceneryVisitor::CheckSceneryVisitor(osgDB::DatabasePager* dbp, const osg::Vec3 &position, double range)
:osg::NodeVisitor(osg::NodeVisitor::NODE_VISITOR,
osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN),
_position(position), _range(range), _loaded(true), _dbp(dbp)
class CheckSceneryVisitor : public osg::NodeVisitor
{
public:
- CheckSceneryVisitor(osgDB::DatabasePager* dbp, osg::Vec3 &position, double range);
+ CheckSceneryVisitor(osgDB::DatabasePager* dbp, const osg::Vec3 &position, double range);
virtual void apply(osg::Node& node);
virtual void apply(osg::PagedLOD& node);