Revert "THE BIGGIE."
This reverts commit ec55705bdd.
Conflicts:
indra/newview/ascentprefsvan.cpp
indra/newview/llinventorybridge.cpp
indra/newview/skins/default/xui/en-us/panel_preferences_ascent_vanity.xml
This commit is contained in:
@@ -82,7 +82,9 @@ public:
|
||||
|
||||
S32 getGroup() { return mGroup; }
|
||||
S32 getPieSlice() { return mPieSlice; }
|
||||
S32 getNumObjects() { return mAttachedObjects.size(); }
|
||||
LLViewerObject *getObject() { return mAttachedObject; }
|
||||
S32 getNumObjects() { return (mAttachedObject ? 1 : 0); }
|
||||
const LLUUID& getItemID() { return mItemID; }
|
||||
|
||||
//
|
||||
// unique methods
|
||||
@@ -90,30 +92,21 @@ public:
|
||||
BOOL addObject(LLViewerObject* object);
|
||||
void removeObject(LLViewerObject *object);
|
||||
|
||||
void setupDrawable(LLDrawable* drawable);
|
||||
void clampObjectPosition();
|
||||
|
||||
//
|
||||
// attachments operations
|
||||
//
|
||||
BOOL isObjectAttached(const LLViewerObject *viewer_object) const;
|
||||
const LLViewerObject *getAttachedObject(const LLUUID &object_id) const;
|
||||
LLViewerObject *getAttachedObject(const LLUUID &object_id);
|
||||
|
||||
// list of attachments for this joint
|
||||
typedef std::vector<LLViewerObject *> attachedobjs_vec_t;
|
||||
attachedobjs_vec_t mAttachedObjects;
|
||||
|
||||
|
||||
protected:
|
||||
void calcLOD();
|
||||
void setupDrawable(LLViewerObject *object);
|
||||
|
||||
protected:
|
||||
// Backlink only; don't make this an LLPointer.
|
||||
LLViewerObject* mAttachedObject;
|
||||
BOOL mVisibleInFirst;
|
||||
LLVector3 mOriginalPos;
|
||||
S32 mGroup;
|
||||
BOOL mIsHUDAttachment;
|
||||
S32 mPieSlice;
|
||||
LLUUID mItemID; // Inventory item id of the attached item (null if not in inventory)
|
||||
};
|
||||
|
||||
#endif // LL_LLVIEWERJOINTATTACHMENT_H
|
||||
|
||||
Reference in New Issue
Block a user