summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-01-20 15:50:03 -0600
committerDave Parks <davep@lindenlab.com>2011-01-20 15:50:03 -0600
commitc1db849c418d2cef8c321199ad1421b183aff9bf (patch)
tree42c1ff2409c692bf82c0d570d0171f3e740644d3 /indra/newview/llviewerobject.cpp
parent1b2c082feb91b4837a0cb5652d1668f6582e9bc9 (diff)
SH-635 Fix for changing one physics parameter changing all physics parameters.
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r--indra/newview/llviewerobject.cpp6
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)