diff --git a/src/osg/View.cpp b/src/osg/View.cpp index ec15ec232..df58b1202 100644 --- a/src/osg/View.cpp +++ b/src/osg/View.cpp @@ -17,7 +17,8 @@ using namespace osg; -View::View() +View::View(): + Object(true) { // osg::notify(osg::NOTICE)<<"Constructing osg::View"<setNumFramesToRetainObjects(0); osg::Referenced::getDeleteHandler()->flushAll(); } - +#endif osg::notify(osg::INFO)<<"Done destructing osg::View"<