diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-12-11 08:08:26 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-12-11 08:08:26 +0800 |
commit | 4b5794791650a0faf3cb5a1f3f27d9abe63a73fa (patch) | |
tree | 03e75bd65f2126ceab79ace3c6622d6f6d961929 /indra/newview/llavatarpropertiesprocessor.cpp | |
parent | b8dded3614bbc8326d420c4e660f58e683f2ac4d (diff) | |
parent | ae9174ffdf340ef12c80547d90d05919957ab512 (diff) |
Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into 2024.09-ExtraFPS
Diffstat (limited to 'indra/newview/llavatarpropertiesprocessor.cpp')
-rw-r--r-- | indra/newview/llavatarpropertiesprocessor.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llavatarpropertiesprocessor.cpp b/indra/newview/llavatarpropertiesprocessor.cpp index 2e79f3b803..b14d1d7d26 100644 --- a/indra/newview/llavatarpropertiesprocessor.cpp +++ b/indra/newview/llavatarpropertiesprocessor.cpp @@ -41,6 +41,7 @@ #include "lltrans.h" #include "llui.h" // LLUI::getLanguage() #include "message.h" +#include "llappviewer.h" LLAvatarPropertiesProcessor::LLAvatarPropertiesProcessor() { @@ -367,7 +368,11 @@ void LLAvatarPropertiesProcessor::requestAvatarPropertiesCoro(std::string cap_ur avatar_data.picks_list.emplace_back(pick_data["id"].asUUID(), pick_data["name"].asString()); } - inst.notifyObservers(avatar_id, &avatar_data, type); + LLAppViewer::instance()->postToMainCoro( + [avatar_id, avatar_data, type]() + { + LLAvatarPropertiesProcessor::instance().notifyObservers(avatar_id, (void*) &avatar_data, type); + }); } void LLAvatarPropertiesProcessor::processAvatarLegacyPropertiesReply(LLMessageSystem* msg, void**) |