diff options
author | Dave Parks <davep@lindenlab.com> | 2022-11-10 13:21:30 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-11-10 13:21:30 -0600 |
commit | 70b8e17f17045b95bf3bda241ca8e91fc94fa808 (patch) | |
tree | dfae1805abc45e5b326d61bcbd3b3ae0dbaf7d52 /indra | |
parent | 76de36c40520445d7ad77f85cd6c601942b97032 (diff) | |
parent | 0ecc677b4970959f1cd7b14f12e01ab331eae6c7 (diff) |
Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llpanelface.cpp | 2 | ||||
-rw-r--r-- | indra/newview/llselectmgr.cpp | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index b6af2feee3..e2ff29039d 100644 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -4249,6 +4249,8 @@ void LLPanelFace::onPasteTexture() LLPanelFaceUpdateFunctor sendfunc(true, true); selected_objects->applyToObjects(&sendfunc); + LLGLTFMaterialList::flushUpdates(); + LLPanelFaceNavigateHomeFunctor navigate_home_func; selected_objects->applyToTEs(&navigate_home_func); } diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp index c89348be60..c5a5175780 100644 --- a/indra/newview/llselectmgr.cpp +++ b/indra/newview/llselectmgr.cpp @@ -1818,6 +1818,8 @@ void LLObjectSelection::applyNoCopyPbrMaterialToTEs(LLViewerInventoryItem* item) } } } + + LLGLTFMaterialList::flushUpdates(); } @@ -2016,6 +2018,8 @@ void LLSelectMgr::selectionSetGLTFMaterial(const LLUUID& mat_id) } } sendfunc(item); getSelection()->applyToObjects(&sendfunc); + + LLGLTFMaterialList::flushUpdates(); } //----------------------------------------------------------------------------- |