From 48b69d5b13db68ebc1032c6e5142923faca10cfd Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 14 Nov 2005 11:08:16 +0000 Subject: [PATCH] From Toshiyuki Takehei, typo fix of getTrackerMode(). --- include/osgGA/NodeTrackerManipulator | 2 +- src/osgWrappers/osgGA/NodeTrackerManipulator.cpp | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/osgGA/NodeTrackerManipulator b/include/osgGA/NodeTrackerManipulator index 48d6ad145..f789e47b4 100644 --- a/include/osgGA/NodeTrackerManipulator +++ b/include/osgGA/NodeTrackerManipulator @@ -55,7 +55,7 @@ class OSGGA_EXPORT NodeTrackerManipulator : public MatrixManipulator }; void setTrackerMode(TrackerMode mode); - TrackerMode getTrackerNode() const { return _trackerMode; } + TrackerMode getTrackerMode() const { return _trackerMode; } enum RotationMode diff --git a/src/osgWrappers/osgGA/NodeTrackerManipulator.cpp b/src/osgWrappers/osgGA/NodeTrackerManipulator.cpp index 7c36faa3c..939cc3a5d 100644 --- a/src/osgWrappers/osgGA/NodeTrackerManipulator.cpp +++ b/src/osgWrappers/osgGA/NodeTrackerManipulator.cpp @@ -49,7 +49,7 @@ BEGIN_OBJECT_REFLECTOR(osgGA::NodeTrackerManipulator) I_Method0(osg::Node *, getTrackNode); I_Method0(const osg::Node *, getTrackNode); I_Method1(void, setTrackerMode, IN, osgGA::NodeTrackerManipulator::TrackerMode, mode); - I_Method0(osgGA::NodeTrackerManipulator::TrackerMode, getTrackerNode); + I_Method0(osgGA::NodeTrackerManipulator::TrackerMode, getTrackerMode); I_Method1(void, setRotationMode, IN, osgGA::NodeTrackerManipulator::RotationMode, mode); I_Method0(osgGA::NodeTrackerManipulator::RotationMode, getRotationMode); I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix); @@ -76,7 +76,6 @@ BEGIN_OBJECT_REFLECTOR(osgGA::NodeTrackerManipulator) I_Property(osgGA::NodeTrackerManipulator::RotationMode, RotationMode); I_Property(osg::Node *, TrackNode); I_Property(const osg::RefNodePath &, TrackNodePath); - I_WriteOnlyProperty(osgGA::NodeTrackerManipulator::TrackerMode, TrackerMode); - I_ReadOnlyProperty(osgGA::NodeTrackerManipulator::TrackerMode, TrackerNode); + I_Property(osgGA::NodeTrackerManipulator::TrackerMode, TrackerMode); END_REFLECTOR