Potential fix for a crash on HG OpenSim teleports by Liru
This commit is contained in:
@@ -2530,7 +2530,7 @@ void LLVOAvatar::idleUpdateMisc(bool detailed_update)
|
|||||||
!(attached_object->mDrawable->getSpatialBridge() &&
|
!(attached_object->mDrawable->getSpatialBridge() &&
|
||||||
attached_object->mDrawable->getSpatialBridge()->getRadius() < 2.0));
|
attached_object->mDrawable->getSpatialBridge()->getRadius() < 2.0));
|
||||||
|
|
||||||
if (visibleAttachment && attached_object && !attached_object->isDead() && attachment->getValid())
|
if (visibleAttachment && attached_object && attached_object->mDrawable && !attached_object->isDead() && attachment->getValid())
|
||||||
{
|
{
|
||||||
// if selecting any attachments, update all of them as non-damped
|
// if selecting any attachments, update all of them as non-damped
|
||||||
if (LLSelectMgr::getInstance()->getSelection()->getObjectCount() && LLSelectMgr::getInstance()->getSelection()->isAttachment())
|
if (LLSelectMgr::getInstance()->getSelection()->getObjectCount() && LLSelectMgr::getInstance()->getSelection()->isAttachment())
|
||||||
|
|||||||
Reference in New Issue
Block a user