diff --git a/include/osg/ClipNode b/include/osg/ClipNode index 2d1911619..367fc5ffb 100644 --- a/include/osg/ClipNode +++ b/include/osg/ClipNode @@ -61,7 +61,7 @@ class OSG_EXPORT ClipNode : public Group inline const ClipPlane* getClipPlane(unsigned int pos) const { return _planes[pos].get(); } /** Set the ClipPlaneList. */ - inline void getClipPlaneList(const ClipPlaneList& cpl) { _planes=cpl; } + inline void setClipPlaneList(const ClipPlaneList& cpl) { _planes=cpl; } /** Get the ClipPlaneList. */ inline ClipPlaneList& getClipPlaneList() { return _planes; }