Enable layer debugging outside of god mode

This commit is contained in:
Hazim Gazov
2010-06-20 07:21:23 +00:00
parent eba7060494
commit 944f7bcc93
2 changed files with 3 additions and 5 deletions

View File

@@ -2478,8 +2478,8 @@ class LLAvatarEnableDebug : public view_listener_t
{
bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
{
bool new_value = gAgent.isGodlike();
gMenuHolder->findControl(userdata["control"].asString())->setValue(new_value);
//bool new_value = gAgent.isGodlike();
//gMenuHolder->findControl(userdata["control"].asString())->setValue(new_value);
return true;
}
};