From 0ecc677b4970959f1cd7b14f12e01ab331eae6c7 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Thu, 10 Nov 2022 18:30:41 +0200 Subject: SL-18583 Missed flushUpdates --- indra/newview/llpanelface.cpp | 2 ++ indra/newview/llselectmgr.cpp | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'indra/newview') diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index f88735e275..fec5ac906f 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 22dae36255..fef6c97caf 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(); } //----------------------------------------------------------------------------- -- cgit v1.2.3