From Roland Smeenk, "ClipNode contains a method getClipPlaneList that should actually be called setClipPlaneList."

This commit is contained in:
Robert Osfield 2007-02-16 15:17:43 +00:00
parent 990417c9d1
commit 3817dbf1a2

View File

@ -61,7 +61,7 @@ class OSG_EXPORT ClipNode : public Group
inline const ClipPlane* getClipPlane(unsigned int pos) const { return _planes[pos].get(); } inline const ClipPlane* getClipPlane(unsigned int pos) const { return _planes[pos].get(); }
/** Set the ClipPlaneList. */ /** Set the ClipPlaneList. */
inline void getClipPlaneList(const ClipPlaneList& cpl) { _planes=cpl; } inline void setClipPlaneList(const ClipPlaneList& cpl) { _planes=cpl; }
/** Get the ClipPlaneList. */ /** Get the ClipPlaneList. */
inline ClipPlaneList& getClipPlaneList() { return _planes; } inline ClipPlaneList& getClipPlaneList() { return _planes; }