summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-11-10 13:21:06 -0600
committerDave Parks <davep@lindenlab.com>2022-11-10 13:21:06 -0600
commit76de36c40520445d7ad77f85cd6c601942b97032 (patch)
treeef734704f7f81f1191e150e3b664fee524d4935e /indra/newview/llviewerobject.cpp
parentd68f379786ed54dbce9dcf921ded4cccd0c5c61e (diff)
SL-18602 Integrate queueModify/queueApply/queueUpdate into all the places that used to post to ModifyMaterialParams directly.
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r--indra/newview/llviewerobject.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index 3cd5b1dbe7..a6e4b2b849 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -7208,9 +7208,8 @@ void LLViewerObject::setRenderMaterialID(S32 te_in, const LLUUID& id, bool updat
// update via ModifyMaterialParams cap (server will echo back changes)
for (S32 te = start_idx; te < end_idx; ++te)
{
- LLGLTFMaterialList::queueApplyMaterialAsset(getID(), te, id);
+ LLGLTFMaterialList::queueApply(getID(), te, id);
}
- LLGLTFMaterialList::flushUpdates();
}
// predictively update LLRenderMaterialParams (don't wait for server)