From 995f6f9e219671f9ad23920287d70fc4032513aa Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 12 Jul 2002 18:14:45 +0000 Subject: [PATCH] Added using namespace osgUtil to get round IRIX/Windows compiler differences. --- src/Demos/osgcluster/osgcluster.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Demos/osgcluster/osgcluster.cpp b/src/Demos/osgcluster/osgcluster.cpp index 91f4c9003..6179f6f04 100644 --- a/src/Demos/osgcluster/osgcluster.cpp +++ b/src/Demos/osgcluster/osgcluster.cpp @@ -119,8 +119,13 @@ class CameraPacket { }; +// using namespace osgUtil required to get round VisualStudio's inablility +// to handle osgUtil::SceneView::app() in the code below, only SceneView::app +// works..but this breaks the IRIX build, unless you have the osgUtil??! +// Robert Osfield, July 2002. +using namespace osgUtil; -class MySceneView : public osgUtil::SceneView { +class MySceneView : public SceneView { public: