mirror of
https://github.com/diva/OnLook.git
synced 2026-08-14 00:58:01 +00:00
[OnLook]: Bug fix related to showing attachments on direct login to a region in in camera-only mode
This commit is contained in:
@@ -2713,7 +2713,14 @@ void LLVOAvatar::idleUpdateMisc(bool detailed_update)
|
||||
BOOL visibleAttachment = visible ||
|
||||
!attached_object->mDrawable->getSpatialBridge() ||
|
||||
attached_object->mDrawable->getSpatialBridge()->getRadius() >= 2.f;
|
||||
|
||||
|
||||
LLSpatialBridge* bridge = attached_object->mDrawable->getSpatialBridge();
|
||||
if (isSelf() && bridge && bridge->mDrawableType && !attachment->getIsHUDAttachment() && LFSimFeatureHandler::instance().getOnLookMask() & 1)
|
||||
{
|
||||
bridge->mDrawableType = 0;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (visibleAttachment)
|
||||
{
|
||||
// if selecting any attachments, update all of them as non-damped
|
||||
@@ -2726,7 +2733,6 @@ void LLVOAvatar::idleUpdateMisc(bool detailed_update)
|
||||
gPipeline.updateMoveDampedAsync(attached_object->mDrawable);
|
||||
}
|
||||
|
||||
LLSpatialBridge* bridge = attached_object->mDrawable->getSpatialBridge();
|
||||
if (bridge)
|
||||
{
|
||||
gPipeline.updateMoveNormalAsync(bridge);
|
||||
|
||||
Reference in New Issue
Block a user