diff options
author | Dave Parks <davep@lindenlab.com> | 2011-01-20 15:50:21 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-01-20 15:50:21 -0600 |
commit | eac9c45cdad9c96e621f5c84ce51062f40c09511 (patch) | |
tree | 81dc9e53021289b3dd589fcde1c42952ef52a620 /indra/newview/llviewerobject.cpp | |
parent | f6ecff390d0190f263887f3af089dc7c2d7fa8d9 (diff) | |
parent | c1db849c418d2cef8c321199ad1421b183aff9bf (diff) |
merge
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r-- | indra/newview/llviewerobject.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index bf550e9c70..244de7fed3 100644 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -5306,11 +5306,6 @@ void LLViewerObject::updateFlags() gMessageSystem->addF32("Restitution", getPhysicsRestitution() ); gMessageSystem->addF32("GravityMultiplier", getPhysicsGravity() ); gMessageSystem->sendReliable( regionp->getHost() ); - - if (getPhysicsShapeType() != 0) - { - llwarns << "sent non default physics rep " << (S32) getPhysicsShapeType() << llendl; - } } BOOL LLViewerObject::setFlags(U32 flags, BOOL state) @@ -5346,6 +5341,7 @@ void LLViewerObject::setPhysicsShapeType(U8 type) { mPhysicsShapeUnknown = false; mPhysicsShapeType = type; + mCostStale = true; } void LLViewerObject::setPhysicsGravity(F32 gravity) |