From 82c315daddd6b203931ed14fec7e69e0885c9f8f Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 19 Nov 2001 10:40:42 +0000 Subject: [PATCH] Added warning report for when a font file cannot be found. --- src/osgText/Font.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osgText/Font.cpp b/src/osgText/Font.cpp index aaf0f0696..947079029 100644 --- a/src/osgText/Font.cpp +++ b/src/osgText/Font.cpp @@ -15,6 +15,7 @@ #include +#include #include #include "FTFace.h" @@ -50,7 +51,7 @@ std::string findFontFile(const std::string& str) filename = osgDB::findFileInPath(str.c_str(),s_FontFilePath); if (filename) return std::string(filename); } - + osg::notify(osg::WARN)<<"Unable to find font file '"<