diff options
Diffstat (limited to 'indra/newview/llviewerjoint.h')
-rw-r--r-- | indra/newview/llviewerjoint.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llviewerjoint.h b/indra/newview/llviewerjoint.h index 0430a91833..a07902e582 100644 --- a/indra/newview/llviewerjoint.h +++ b/indra/newview/llviewerjoint.h @@ -40,6 +40,7 @@ #include "llapr.h" class LLFace; +class LLViewerJointMesh; //----------------------------------------------------------------------------- // class LLViewerJoint @@ -133,8 +134,13 @@ public: void setVisible( BOOL visible, BOOL recursive ); + // Takes meshes in mMeshParts and sets each one as a child joint + void setMeshesToChildren(); + public: static BOOL sDisableLOD; + std::vector<LLViewerJointMesh*> mMeshParts; + void setMeshID( S32 id ) {mMeshID = id;} protected: BOOL mValid; @@ -142,6 +148,7 @@ protected: F32 mMinPixelArea; PickName mPickName; BOOL mVisible; + S32 mMeshID; }; class LLViewerJointCollisionVolume : public LLViewerJoint |