From e08fd168f663289931b1132b4fa52b0f4fe89ee4 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 20 Apr 2015 10:36:42 +0000 Subject: [PATCH] Build fix git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14850 16af8721-9629-0410-8352-f15c8da7e697 --- examples/osgmanipulator/osgmanipulator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osgmanipulator/osgmanipulator.cpp b/examples/osgmanipulator/osgmanipulator.cpp index 303dc7ea1..43352df48 100644 --- a/examples/osgmanipulator/osgmanipulator.cpp +++ b/examples/osgmanipulator/osgmanipulator.cpp @@ -415,12 +415,12 @@ int main( int argc, char **argv ) const osg::ref_ptr antiSquish = new osgManipulator::AntiSquish(); - group->addChild(antiSquish); + group->addChild(antiSquish.get()); const osg::ref_ptr node = new osg::Node(); node->setInitialBound(osg::BoundingSphere(osg::Vec3(0.0, 0.0, 0.0), 1.0)); - antiSquish->addChild(node); + antiSquish->addChild(node.get()); group->getBound();