From db449b9e092193360738f3fe505b3a6edc253efc Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 22 Aug 2013 10:09:21 +0000 Subject: [PATCH] Added warning when model file has not be found --- src/osgPresentation/deprecated/SlideShowConstructor.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/osgPresentation/deprecated/SlideShowConstructor.cpp b/src/osgPresentation/deprecated/SlideShowConstructor.cpp index dd1eac608..5684a00f8 100644 --- a/src/osgPresentation/deprecated/SlideShowConstructor.cpp +++ b/src/osgPresentation/deprecated/SlideShowConstructor.cpp @@ -1991,6 +1991,10 @@ void SlideShowConstructor::addModel(const std::string& filename, const PositionD { addModel(subgraph.get(), positionData, modelData); } + else + { + OSG_NOTICE<<"Could not loaded model file : "<