Removed getNeighbours() method to avoid problems with introspection wrappers

This commit is contained in:
Robert Osfield 2010-04-01 21:18:39 +00:00
parent 47cdee3611
commit 656efbf03f
2 changed files with 0 additions and 16 deletions

View File

@ -82,10 +82,7 @@ class OSGTERRAIN_EXPORT TerrainTechnique : public osg::Object, public osg::Obser
void addNeighbour(TerrainTile* tile) { _neighbours.addNeighbour(tile); }
void removeNeighbour(TerrainTile* tile) { _neighbours.removeNeighbour(tile); }
bool containsNeighbour(TerrainTile* tile) { return _neighbours.containsNeighbour(tile); }
TerrainNeighbours& getNeighbours() { return _neighbours; }
const TerrainNeighbours& getNeighbours() const { return _neighbours; }
protected:

View File

@ -118,16 +118,6 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::TerrainTechnique)
__bool__containsNeighbour__TerrainTile_P1,
"",
"");
I_Method0(osgTerrain::TerrainNeighbours &, getNeighbours,
Properties::NON_VIRTUAL,
__TerrainNeighbours_R1__getNeighbours,
"",
"");
I_Method0(const osgTerrain::TerrainNeighbours &, getNeighbours,
Properties::NON_VIRTUAL,
__C5_TerrainNeighbours_R1__getNeighbours,
"",
"");
I_ProtectedMethod1(void, setTerrainTile, IN, osgTerrain::TerrainTile *, tile,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
@ -140,9 +130,6 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::TerrainTechnique)
__void__setDirty__bool,
"",
"");
I_SimpleProperty(osgTerrain::TerrainNeighbours &, Neighbours,
__TerrainNeighbours_R1__getNeighbours,
0);
I_SimpleProperty(osgTerrain::TerrainTile *, TerrainTile,
__TerrainTile_P1__getTerrainTile,
0);