Fixed typo
This commit is contained in:
@@ -26,7 +26,7 @@ class OSG_EXPORT NodeTrackerCallback : public NodeCallback
|
||||
public:
|
||||
|
||||
|
||||
typedef std::vector< observer_ptr<Node> > ObserveredNodePath;
|
||||
typedef std::vector< observer_ptr<Node> > ObserverNodePath;
|
||||
|
||||
void setTrackNodePath(const osg::NodePath& nodePath)
|
||||
{
|
||||
@@ -35,8 +35,8 @@ class OSG_EXPORT NodeTrackerCallback : public NodeCallback
|
||||
std::copy(nodePath.begin(), nodePath.end(), std::back_inserter(_trackNodePath));
|
||||
}
|
||||
|
||||
void setTrackNodePath(const ObserveredNodePath& nodePath) { _trackNodePath = nodePath; }
|
||||
ObserveredNodePath& getTrackNodePath() { return _trackNodePath; }
|
||||
void setTrackNodePath(const ObserverNodePath& nodePath) { _trackNodePath = nodePath; }
|
||||
ObserverNodePath& getTrackNodePath() { return _trackNodePath; }
|
||||
|
||||
void setTrackNode(osg::Node* node);
|
||||
osg::Node* getTrackNode() { return _trackNodePath.empty() ? 0 : _trackNodePath.back().get(); }
|
||||
@@ -53,7 +53,7 @@ class OSG_EXPORT NodeTrackerCallback : public NodeCallback
|
||||
|
||||
protected:
|
||||
|
||||
ObserveredNodePath _trackNodePath;
|
||||
ObserverNodePath _trackNodePath;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user