summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r--indra/newview/llviewerobject.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index 382bdb0a93..a4e735aefd 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -4796,7 +4796,7 @@ const LLVector3 LLViewerObject::getRenderPosition() const
}
}
- if (mDrawable.isNull() || mDrawable->getGeneration() < 0)
+ if (mDrawable.isNull())
{
return getPositionAgent();
}
@@ -8037,4 +8037,3 @@ public:
LLHTTPRegistration<ObjectPhysicsProperties>
gHTTPRegistrationObjectPhysicsProperties("/message/ObjectPhysicsProperties");
-