Removed getNeighbours() method to avoid problems with introspection wrappers
This commit is contained in:
parent
47cdee3611
commit
656efbf03f
@ -82,10 +82,7 @@ class OSGTERRAIN_EXPORT TerrainTechnique : public osg::Object, public osg::Obser
|
|||||||
|
|
||||||
void addNeighbour(TerrainTile* tile) { _neighbours.addNeighbour(tile); }
|
void addNeighbour(TerrainTile* tile) { _neighbours.addNeighbour(tile); }
|
||||||
void removeNeighbour(TerrainTile* tile) { _neighbours.removeNeighbour(tile); }
|
void removeNeighbour(TerrainTile* tile) { _neighbours.removeNeighbour(tile); }
|
||||||
|
|
||||||
bool containsNeighbour(TerrainTile* tile) { return _neighbours.containsNeighbour(tile); }
|
bool containsNeighbour(TerrainTile* tile) { return _neighbours.containsNeighbour(tile); }
|
||||||
TerrainNeighbours& getNeighbours() { return _neighbours; }
|
|
||||||
const TerrainNeighbours& getNeighbours() const { return _neighbours; }
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
|
@ -118,16 +118,6 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::TerrainTechnique)
|
|||||||
__bool__containsNeighbour__TerrainTile_P1,
|
__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,
|
I_ProtectedMethod1(void, setTerrainTile, IN, osgTerrain::TerrainTile *, tile,
|
||||||
Properties::NON_VIRTUAL,
|
Properties::NON_VIRTUAL,
|
||||||
Properties::NON_CONST,
|
Properties::NON_CONST,
|
||||||
@ -140,9 +130,6 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::TerrainTechnique)
|
|||||||
__void__setDirty__bool,
|
__void__setDirty__bool,
|
||||||
"",
|
"",
|
||||||
"");
|
"");
|
||||||
I_SimpleProperty(osgTerrain::TerrainNeighbours &, Neighbours,
|
|
||||||
__TerrainNeighbours_R1__getNeighbours,
|
|
||||||
0);
|
|
||||||
I_SimpleProperty(osgTerrain::TerrainTile *, TerrainTile,
|
I_SimpleProperty(osgTerrain::TerrainTile *, TerrainTile,
|
||||||
__TerrainTile_P1__getTerrainTile,
|
__TerrainTile_P1__getTerrainTile,
|
||||||
0);
|
0);
|
||||||
|
Loading…
Reference in New Issue
Block a user