summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.h
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-11-02 12:03:00 -0800
committerJames Cook <james@lindenlab.com>2009-11-02 12:03:00 -0800
commitb94d2ff4c5bd26ffe821a6f40c2bc5883ae2ebba (patch)
tree9fe0aefb3a4b10a24ff8b1487a531b5724b62404 /indra/newview/llviewermenu.h
parent3783852444825edf420e6109927df21fd004c3e7 (diff)
EXT-462 Fixed freeze/eject commands in right-click and avatar inspector menus
We were incorrectly only enabling them for gods. They now properly enable for region/land owners.
Diffstat (limited to 'indra/newview/llviewermenu.h')
-rw-r--r--indra/newview/llviewermenu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llviewermenu.h b/indra/newview/llviewermenu.h
index 6d32df2bc5..b65878b5e6 100644
--- a/indra/newview/llviewermenu.h
+++ b/indra/newview/llviewermenu.h
@@ -101,6 +101,14 @@ void handle_take_copy();
void handle_look_at_selection(const LLSD& param);
void handle_zoom_to_object(LLUUID object_id);
+// Takes avatar UUID, or if no UUID passed, uses last selected object
+void handle_avatar_freeze(const LLSD& avatar_id);
+
+// Takes avatar UUID, or if no UUID passed, uses last selected object
+void handle_avatar_eject(const LLSD& avatar_id);
+
+bool enable_freeze_eject(const LLSD& avatar_id);
+
// Can anyone take a free copy of the object?
// *TODO: Move to separate file
bool anyone_copy_selection(LLSelectNode* nodep);