Added handling of false return

This commit is contained in:
Robert Osfield 2016-06-30 10:55:34 +01:00
parent 876c4882a3
commit e5c0297167

View File

@ -482,7 +482,8 @@ public:
virtual bool matchString( const std::string& str )
{
prepareStream();
if (!prepareStream()) return false;
std::string strInStream = osgDB::trimEnclosingSpaces(_sstream.str());
if ( strInStream==str )
{