Quieted down dubug output
This commit is contained in:
@@ -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" );
|
||||
|
||||
Reference in New Issue
Block a user