Adds missing MakeIndent function to next engine
This commit is contained in:
parent
b744b7b923
commit
4a5aa07e57
1 changed files with 13 additions and 0 deletions
|
@ -85,6 +85,19 @@ DEBUG(string sMsg) {
|
|||
llOwnerSay(MakeIndent() + " > " + sMsg);
|
||||
}
|
||||
|
||||
|
||||
|
||||
string MakeIndent()
|
||||
{
|
||||
integer i = 0;
|
||||
string sIndent = "";
|
||||
for(i = 0;i<g_iDebugIndent;i++){
|
||||
sIndent += " ";
|
||||
}
|
||||
|
||||
return "[" + llGetScriptName() + "] " + sIndent;
|
||||
}
|
||||
|
||||
string SLURL(key kID){
|
||||
return "secondlife:///app/agent/"+(string)kID+"/about";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue