diff options
author | Dave Parks <davep@lindenlab.com> | 2010-10-19 23:19:55 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-10-19 23:19:55 -0500 |
commit | 30b44b238ba6ff8ff6dc29161f3ff6ee85a27f06 (patch) | |
tree | ad0894cb9e503872b688271006cb94e9a077a07c /indra/newview/llviewerobject.h | |
parent | 94c1670934bc3a00e45823784cb8c25dea7908f0 (diff) |
First stab at using GetObjectPhysicsData
Diffstat (limited to 'indra/newview/llviewerobject.h')
-rw-r--r-- | indra/newview/llviewerobject.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewerobject.h b/indra/newview/llviewerobject.h index d622d37ee8..1109386cbe 100644 --- a/indra/newview/llviewerobject.h +++ b/indra/newview/llviewerobject.h @@ -470,7 +470,7 @@ public: inline BOOL flagCameraDecoupled() const { return ((mFlags & FLAGS_CAMERA_DECOUPLED) != 0); } inline BOOL flagObjectMove() const { return ((mFlags & FLAGS_OBJECT_MOVE) != 0); } - inline U8 getPhysicsShapeType() const { return mPhysicsShapeType; } + U8 getPhysicsShapeType() const; inline F32 getPhysicsGravity() const { return mPhysicsGravity; } inline F32 getPhysicsFriction() const { return mPhysicsFriction; } inline F32 getPhysicsDensity() const { return mPhysicsDensity; } @@ -703,6 +703,7 @@ protected: F32 mLinksetPhysicsCost; bool mCostStale; + mutable bool mPhysicsShapeUnknown; static U32 sNumZombieObjects; // Objects which are dead, but not deleted |