diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-04-18 23:39:21 +0300 |
|---|---|---|
| committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-04-18 23:39:21 +0300 |
| commit | ea0c810d2d082a9684d9ce6b9cbd888c87f06612 (patch) | |
| tree | 2ba79cdce632286bc14c2e34015c62fa95689388 /indra/newview/llfloaterpreference.cpp | |
| parent | 8a39aaa3a485d9f1d4486c02e98286cfb08761d4 (diff) | |
SL-15312 Small tweaks for profiles
Diffstat (limited to 'indra/newview/llfloaterpreference.cpp')
| -rw-r--r-- | indra/newview/llfloaterpreference.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp index 9064a65d05..7bc16293a5 100644 --- a/indra/newview/llfloaterpreference.cpp +++ b/indra/newview/llfloaterpreference.cpp @@ -381,10 +381,13 @@ void LLFloaterPreference::saveAvatarProperties( void ) // "allow publish" flag, the last remaining profile setting in the viewer // that doesn't exist in the web profile. // + if ((LLStartUp::getStartupState() == STATE_STARTED) && mAvatarDataInitialized && (allowPublish != mAvatarProperties.allow_publish)) { mAvatarProperties.allow_publish = allowPublish; + // TODO!!!: replace with an AgentProfile cap, once allow_publish works correctly + // otherwise this will trim long descritions/reset profile LLAvatarPropertiesProcessor::getInstance()->sendAvatarPropertiesUpdate( &mAvatarProperties ); } } |
