diff options
author | McCabe Maxsted | 2010-05-31 22:59:47 -0700 |
---|---|---|
committer | Jacek Antonelli | 2010-06-22 04:44:26 -0500 |
commit | 64390436e0c46877bd61aa2965f405c9bc705e6e (patch) | |
tree | d65cc9fd6bc9d80852dd87bb8c77a616a4fd8487 /linden/indra/newview/llselectmgr.h | |
parent | Added 'Notifications' to logcontrol.xml to reduce notification saving log spam (diff) | |
download | meta-impy-64390436e0c46877bd61aa2965f405c9bc705e6e.zip meta-impy-64390436e0c46877bd61aa2965f405c9bc705e6e.tar.gz meta-impy-64390436e0c46877bd61aa2965f405c9bc705e6e.tar.bz2 meta-impy-64390436e0c46877bd61aa2965f405c9bc705e6e.tar.xz |
Updated llselectmgr.cpp to snowglobe 1.4
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llselectmgr.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/newview/llselectmgr.h b/linden/indra/newview/llselectmgr.h index 1e49afe..8165394 100644 --- a/linden/indra/newview/llselectmgr.h +++ b/linden/indra/newview/llselectmgr.h | |||
@@ -138,6 +138,7 @@ public: | |||
138 | void selectTE(S32 te_index, BOOL selected); | 138 | void selectTE(S32 te_index, BOOL selected); |
139 | BOOL isTESelected(S32 te_index); | 139 | BOOL isTESelected(S32 te_index); |
140 | S32 getLastSelectedTE(); | 140 | S32 getLastSelectedTE(); |
141 | S32 getTESelectMask() { return mTESelectMask; } | ||
141 | void renderOneSilhouette(const LLColor4 &color); | 142 | void renderOneSilhouette(const LLColor4 &color); |
142 | void setTransient(BOOL transient) { mTransient = transient; } | 143 | void setTransient(BOOL transient) { mTransient = transient; } |
143 | BOOL isTransient() { return mTransient; } | 144 | BOOL isTransient() { return mTransient; } |
@@ -190,7 +191,7 @@ public: | |||
190 | 191 | ||
191 | protected: | 192 | protected: |
192 | LLPointer<LLViewerObject> mObject; | 193 | LLPointer<LLViewerObject> mObject; |
193 | BOOL mTESelected[SELECT_MAX_TES]; | 194 | S32 mTESelectMask; |
194 | S32 mLastTESelected; | 195 | S32 mLastTESelected; |
195 | }; | 196 | }; |
196 | 197 | ||
@@ -406,7 +407,7 @@ public: | |||
406 | // converts all objects currently highlighted to a selection, and returns it | 407 | // converts all objects currently highlighted to a selection, and returns it |
407 | LLObjectSelectionHandle selectHighlightedObjects(); | 408 | LLObjectSelectionHandle selectHighlightedObjects(); |
408 | 409 | ||
409 | LLObjectSelectionHandle setHoverObject(LLViewerObject *objectp); | 410 | LLObjectSelectionHandle setHoverObject(LLViewerObject *objectp, S32 face = -1); |
410 | 411 | ||
411 | void highlightObjectOnly(LLViewerObject *objectp); | 412 | void highlightObjectOnly(LLViewerObject *objectp); |
412 | void highlightObjectAndFamily(LLViewerObject *objectp); | 413 | void highlightObjectAndFamily(LLViewerObject *objectp); |
@@ -647,6 +648,7 @@ private: | |||
647 | ESelectType getSelectTypeForObject(LLViewerObject* object); | 648 | ESelectType getSelectTypeForObject(LLViewerObject* object); |
648 | void addAsFamily(std::vector<LLViewerObject*>& objects, BOOL add_to_end = FALSE); | 649 | void addAsFamily(std::vector<LLViewerObject*>& objects, BOOL add_to_end = FALSE); |
649 | void generateSilhouette(LLSelectNode *nodep, const LLVector3& view_point); | 650 | void generateSilhouette(LLSelectNode *nodep, const LLVector3& view_point); |
651 | void updateSelectionSilhouette(LLObjectSelectionHandle object_handle, S32& num_sils_genned, std::vector<LLViewerObject*>& changed_objects); | ||
650 | // Send one message to each region containing an object on selection list. | 652 | // Send one message to each region containing an object on selection list. |
651 | void sendListToRegions( const std::string& message_name, | 653 | void sendListToRegions( const std::string& message_name, |
652 | void (*pack_header)(void *user_data), | 654 | void (*pack_header)(void *user_data), |
@@ -654,6 +656,7 @@ private: | |||
654 | void *user_data, | 656 | void *user_data, |
655 | ESendType send_type); | 657 | ESendType send_type); |
656 | 658 | ||
659 | |||
657 | static void packAgentID( void *); | 660 | static void packAgentID( void *); |
658 | static void packAgentAndSessionID(void* user_data); | 661 | static void packAgentAndSessionID(void* user_data); |
659 | static void packAgentAndGroupID(void* user_data); | 662 | static void packAgentAndGroupID(void* user_data); |