summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermodelpreview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
-rw-r--r--indra/newview/llfloatermodelpreview.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index 69e641c074..d939d27fa9 100644
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -643,7 +643,7 @@ void LLFloaterModelPreview::draw()
else
{
const std::string idle("Idle.");
- mDecompFloater->childSetText("status", std::string("Idle."));
+ mDecompFloater->childSetText("status", idle);
}
}
@@ -789,12 +789,9 @@ void LLFloaterModelPreview::onPhysicsParamCommit(LLUICtrl* ctrl, void* data)
if (sInstance)
{
- LLCDResult ret = LLCD_OK;
LLCDParam* param = (LLCDParam*) data;
sInstance->mDecompParams[param->mName] = ctrl->getValue();
}
-
-
}
//static