aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerjointattachment.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewerjointattachment.h')
-rw-r--r--linden/indra/newview/llviewerjointattachment.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/llviewerjointattachment.h b/linden/indra/newview/llviewerjointattachment.h
index a8c2c71..ce2f8b9 100644
--- a/linden/indra/newview/llviewerjointattachment.h
+++ b/linden/indra/newview/llviewerjointattachment.h
@@ -79,7 +79,7 @@ public:
79 79
80 S32 getGroup() { return mGroup; } 80 S32 getGroup() { return mGroup; }
81 S32 getPieSlice() { return mPieSlice; } 81 S32 getPieSlice() { return mPieSlice; }
82 BOOL getAttachmentDirty() { return mAttachmentDirty && mAttachedObject.notNull(); } 82 BOOL getAttachmentDirty() { return mAttachmentDirty && mAttachedObject; }
83 LLViewerObject *getObject() { return mAttachedObject; } 83 LLViewerObject *getObject() { return mAttachedObject; }
84 S32 getNumObjects() { return (mAttachedObject ? 1 : 0); } 84 S32 getNumObjects() { return (mAttachedObject ? 1 : 0); }
85 const LLUUID& getItemID() { return mItemID; } 85 const LLUUID& getItemID() { return mItemID; }
@@ -99,7 +99,8 @@ protected:
99 99
100protected: 100protected:
101 LLJoint* mJoint; 101 LLJoint* mJoint;
102 LLPointer<LLViewerObject> mAttachedObject; 102 // Backlink only; don't make this an LLPointer.
103 LLViewerObject* mAttachedObject;
103 BOOL mAttachmentDirty; // does attachment drawable need to be fixed up? 104 BOOL mAttachmentDirty; // does attachment drawable need to be fixed up?
104 BOOL mVisibleInFirst; 105 BOOL mVisibleInFirst;
105 LLVector3 mOriginalPos; 106 LLVector3 mOriginalPos;