Quieted down dubug output

This commit is contained in:
Robert Osfield
2017-11-30 12:48:47 +00:00
parent a16702627a
commit 05b0f142c8

View File

@@ -4074,21 +4074,21 @@ void LuaScriptEngine::addPaths(const osgDB::FilePathList& paths)
std::string path = lua_tostring( _lua, -1 );
lua_pop( _lua, 1 );
OSG_NOTICE<<"LuaScriptEngine::addPaths() original package.path = "<<path<<std::endl;
OSG_INFO<<"LuaScriptEngine::addPaths() original package.path = "<<path<<std::endl;
for(osgDB::FilePathList::const_iterator itr = paths.begin();
itr != paths.end();
++itr)
{
OSG_NOTICE<<" Appending path ["<<*itr<<"]"<<std::endl;
OSG_INFO<<" Appending path ["<<*itr<<"]"<<std::endl;
path.append( ";" );
path.append( *itr );
path.append( "/?.lua" );
}
OSG_NOTICE<<" path after = "<<path<<std::endl;
OSG_INFO<<" path after = "<<path<<std::endl;
lua_pushstring( _lua, path.c_str() );
lua_setfield( _lua, -2, "path" );