diff options
author | McCabe Maxsted | 2009-02-26 21:21:51 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-02-26 23:16:36 -0700 |
commit | 96e2aaf88f8b40122ad484605fbfbef292817ba4 (patch) | |
tree | d92e2978b6e523870e7866d09119a47c841ddc6c /linden/indra/newview/llpreviewlandmark.cpp | |
parent | merged in last working media changes (diff) | |
download | meta-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.cpp | 12 |
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); |