aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpreviewlandmark.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-02-26 21:21:51 -0700
committerMcCabe Maxsted2009-02-26 23:16:36 -0700
commit96e2aaf88f8b40122ad484605fbfbef292817ba4 (patch)
treed92e2978b6e523870e7866d09119a47c841ddc6c /linden/indra/newview/llpreviewlandmark.cpp
parentmerged in last working media changes (diff)
downloadmeta-impy-96e2aaf88f8b40122ad484605fbfbef292817ba4.zip
meta-impy-96e2aaf88f8b40122ad484605fbfbef292817ba4.tar.gz
meta-impy-96e2aaf88f8b40122ad484605fbfbef292817ba4.tar.bz2
meta-impy-96e2aaf88f8b40122ad484605fbfbef292817ba4.tar.xz
Fixed bad LM patch side-effect
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpreviewlandmark.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/linden/indra/newview/llpreviewlandmark.cpp b/linden/indra/newview/llpreviewlandmark.cpp
index 01d77f6..20b0ee5 100644
--- a/linden/indra/newview/llpreviewlandmark.cpp
+++ b/linden/indra/newview/llpreviewlandmark.cpp
@@ -90,7 +90,17 @@ 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 // Decided against this, a text notification is a better fix for this -- McCabe
96 //LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_new_landmark.xml", &getFactoryMap());
97 //childSetAction("Discard btn",onDiscardBtn,this);
98 }
99 else
100 {
101 LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_existing_landmark.xml", &getFactoryMap());
102 }
103
94 104
95 /* 105 /*
96 childSetCommitCallback("desc_editor", LLPreview::onText, this); 106 childSetCommitCallback("desc_editor", LLPreview::onText, this);