From bcd082db3d2c0e0dcccb1822816191c9c054184b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 20 Dec 2005 09:13:59 +0000 Subject: [PATCH] From Farshid Lashkari, compile fix --- src/osg/Switch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/Switch.cpp b/src/osg/Switch.cpp index d8df1a077..dbc703509 100644 --- a/src/osg/Switch.cpp +++ b/src/osg/Switch.cpp @@ -101,7 +101,7 @@ bool Switch::insertChild( unsigned int index, Node *child, bool value ) bool Switch::removeChild( Node *child ) { - removeChild( getChildIndex(child) ); + return removeChild( getChildIndex(child) ); } bool Switch::removeChild(unsigned int pos,unsigned int numChildrenToRemove)