aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpreviewlandmark.cpp
diff options
context:
space:
mode:
authorAnders Arnholm2008-12-12 09:27:40 +0100
committerAnders Arnholm2008-12-12 09:27:40 +0100
commitc9ad0b4828ae6c70d6e1b7610a247a6ef48465fd (patch)
treee1ccb2af61a504da5a46128acc48c66d6618196b /linden/indra/newview/llpreviewlandmark.cpp
parentMerge branch 'next' of git://github.com/jacek/imprudence into next (diff)
downloadmeta-impy-c9ad0b4828ae6c70d6e1b7610a247a6ef48465fd.zip
meta-impy-c9ad0b4828ae6c70d6e1b7610a247a6ef48465fd.tar.gz
meta-impy-c9ad0b4828ae6c70d6e1b7610a247a6ef48465fd.tar.bz2
meta-impy-c9ad0b4828ae6c70d6e1b7610a247a6ef48465fd.tar.xz
Applied 3 patches from CoolViewer, http://sldev.free.fr
Applied slviewer-0-v120130-LandmarksDiscardButton_v2.patch.bz2 Applied slviewer-0-v120160-FriendshipAndCallingcardOffersIgnoreButton.patch.bz2 Applied slviewer-0-v12100-AllowDiscardForCreator.patch.bz2
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpreviewlandmark.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/linden/indra/newview/llpreviewlandmark.cpp b/linden/indra/newview/llpreviewlandmark.cpp
index 01d77f6..dba603b 100644
--- a/linden/indra/newview/llpreviewlandmark.cpp
+++ b/linden/indra/newview/llpreviewlandmark.cpp
@@ -90,7 +90,15 @@ LLPreviewLandmark::LLPreviewLandmark(const std::string& name,
90{ 90{
91 91
92 mFactoryMap["place_details_panel"] = LLCallbackMap(LLPreviewLandmark::createPlaceDetail, this); 92 mFactoryMap["place_details_panel"] = LLCallbackMap(LLPreviewLandmark::createPlaceDetail, this);
93 LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_existing_landmark.xml", &getFactoryMap()); 93 if (show_keep_discard)
94 {
95 LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_new_landmark.xml", &getFactoryMap());
96 childSetAction("Discard btn",onDiscardBtn,this);
97 }
98 else
99 {
100 LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_existing_landmark.xml", &getFactoryMap());
101 }
94 102
95 /* 103 /*
96 childSetCommitCallback("desc_editor", LLPreview::onText, this); 104 childSetCommitCallback("desc_editor", LLPreview::onText, this);