SL-18583 Missed flushUpdates

meow-7.2.2
Andrey Kleshchev 2022-11-10 18:30:41 +02:00
parent d68f379786
commit 0ecc677b49
2 changed files with 6 additions and 0 deletions

View File

@ -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);
}

View File

@ -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();
}
//-----------------------------------------------------------------------------