summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2009-11-12 13:23:48 -0600
committerDave Parks <davep@lindenlab.com>2009-11-12 13:23:48 -0600
commit596d3cfb6018789e3ffca5bf3ae9fa4e1e8a707a (patch)
tree32dcbe7db18ddd2c91e9fc99bfab20397e33dd24
parent41f48a16a9e4279eb7805f0ed725b0147305c6ba (diff)
CTS-15 Force loading of high LOD when opening model import floater.
CTS-9 Auto-fill description field with
-rw-r--r--indra/newview/llviewermenufile.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp
index 505d2afb69..2ce37612b2 100644
--- a/indra/newview/llviewermenufile.cpp
+++ b/indra/newview/llviewermenufile.cpp
@@ -281,7 +281,11 @@ class LLFileUploadModel : public view_listener_t
{
bool handleEvent(const LLSD& userdata)
{
- LLFloaterReg::showInstance("upload_model");
+ LLFloaterModelPreview* fmp = (LLFloaterModelPreview*) LLFloaterReg::showInstance("upload_model");
+ if (fmp)
+ {
+ fmp->loadModel(3);
+ }
return TRUE;
}