summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelface.cpp
diff options
context:
space:
mode:
authorTonya Souther <tonya.souther@gmail.com>2013-02-06 21:38:05 -0600
committerTonya Souther <tonya.souther@gmail.com>2013-02-06 21:38:05 -0600
commit3422f75cf749df10c7bb7711b9a7fa870655818f (patch)
tree1b78f3cbc3e66ad4075e9c66bc499947b5bd5862 /indra/newview/llpanelface.cpp
parentf2b026138d5abe5464de6db349b3431c262de53a (diff)
Tell the renderer to use the updated material immediately on editing it.
Diffstat (limited to 'indra/newview/llpanelface.cpp')
-rw-r--r--indra/newview/llpanelface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp
index 7b3bbf8b3b..7e9fe212dd 100644
--- a/indra/newview/llpanelface.cpp
+++ b/indra/newview/llpanelface.cpp
@@ -1352,7 +1352,7 @@ void LLPanelFace::updateMaterial()
mMaterial->setDiffuseAlphaMode(getChild<LLComboBox>("combobox alphamode")->getCurrentIndex());
mMaterial->setAlphaMaskCutoff((U8)(getChild<LLUICtrl>("maskcutoff")->getValue().asInteger()));
llinfos << "Updating material: " << mMaterial->asLLSD() << llendl;
- LLSelectMgr::getInstance()->selectionSetMaterial( *mMaterial );
+ LLSelectMgr::getInstance()->selectionSetMaterial( mMaterial );
// We've sent an update. Need to hold off on any more until
// the sim acknowledges this one.