summaryrefslogtreecommitdiff
path: root/indra/newview/llinspectobject.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2009-10-08 00:31:01 +0000
committerLeyla Farazha <leyla@lindenlab.com>2009-10-08 00:31:01 +0000
commit6f66cdf7a1307ab37d7f07928fabbe7aa4ac2673 (patch)
tree9dfcf4091996a846b6a622b9826bc283e754f62b /indra/newview/llinspectobject.cpp
parent3a6a18ee30425bf1000f82b0a4b245c23f0deafc (diff)
EXT-1325 Texture Picker does not open
EXT-1264 'Zoom in' world context menu opens IM session reviewed by Richard
Diffstat (limited to 'indra/newview/llinspectobject.cpp')
-rw-r--r--indra/newview/llinspectobject.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llinspectobject.cpp b/indra/newview/llinspectobject.cpp
index 8c38e785e9..cdb3a10dfc 100644
--- a/indra/newview/llinspectobject.cpp
+++ b/indra/newview/llinspectobject.cpp
@@ -109,6 +109,7 @@ private:
void onClickSit();
void onClickOpen();
void onClickMoreInfo();
+ void onClickZoomIn();
private:
LLUUID mObjectID;
@@ -132,6 +133,7 @@ LLInspectObject::LLInspectObject(const LLSD& sd)
mCommitCallbackRegistrar.add("InspectObject.Sit", boost::bind(&LLInspectObject::onClickSit, this));
mCommitCallbackRegistrar.add("InspectObject.Open", boost::bind(&LLInspectObject::onClickOpen, this));
mCommitCallbackRegistrar.add("InspectObject.MoreInfo", boost::bind(&LLInspectObject::onClickMoreInfo, this));
+ mCommitCallbackRegistrar.add("InspectObject.ZoomIn", boost::bind(&LLInspectObject::onClickZoomIn, this));
}
@@ -554,6 +556,12 @@ void LLInspectObject::onClickMoreInfo()
closeFloater();
}
+void LLInspectObject::onClickZoomIn()
+{
+ handle_look_at_selection("zoom");
+ closeFloater();
+}
+
//////////////////////////////////////////////////////////////////////////////
// LLInspectObjectUtil
//////////////////////////////////////////////////////////////////////////////