Skip to content
Snippets Groups Projects
Commit 35269814 authored by Brad Payne (Vir Linden)'s avatar Brad Payne (Vir Linden)
Browse files

Fix for ruthing in non-server-bake regions

parent a43d242d
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include "llavatarappearancedefines.h" #include "llavatarappearancedefines.h"
#include "llviewerwearable.h" #include "llviewerwearable.h"
#include "llviewercontrol.h" #include "llviewercontrol.h"
#include "llviewerregion.h"
using namespace LLAvatarAppearanceDefines; using namespace LLAvatarAppearanceDefines;
...@@ -322,8 +323,9 @@ void LLViewerWearable::writeToAvatar(LLAvatarAppearance *avatarp) ...@@ -322,8 +323,9 @@ void LLViewerWearable::writeToAvatar(LLAvatarAppearance *avatarp)
if (!viewer_avatar->isValid()) return; if (!viewer_avatar->isValid()) return;
// FIXME restrict this check to server bake regions? if (viewer_avatar->getRegion() &&
if (!viewer_avatar->isUsingLocalAppearance()) (viewer_avatar->getRegion()->getCentralBakeVersion()>0) &&
!viewer_avatar->isUsingLocalAppearance())
{ {
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment