Fixed initializer for __AGENTNAME__ LSL preprocessor macro.

Tonya Souther 2012-04-23 16:13:50 -05:00
parent 0d92456b5d
commit 2fc0d6dacc
1 changed files with 1 additions and 2 deletions

View File

@ -976,8 +976,7 @@ void FSLSLPreprocessor::start_process()
ctx.add_macro_definition(def,false);
def = llformat("__AGENTIDRAW__=%s",gAgent.getID().asString().c_str());
ctx.add_macro_definition(def,false);
std::string aname;
gAgentAvatarp->getFullname();
std::string aname = gAgentAvatarp->getFullname();
def = llformat("__AGENTNAME__=\"%s\"",aname.c_str());
ctx.add_macro_definition(def,false);
def = llformat("__ASSETID__=%s",LLUUID::null.asString().c_str());