diff options
Diffstat (limited to 'linden/indra/newview/llselectmgr.h')
-rw-r--r-- | linden/indra/newview/llselectmgr.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/linden/indra/newview/llselectmgr.h b/linden/indra/newview/llselectmgr.h index 0f1ea4c..80ba192 100644 --- a/linden/indra/newview/llselectmgr.h +++ b/linden/indra/newview/llselectmgr.h | |||
@@ -321,7 +321,7 @@ public: | |||
321 | bool applyToRootNodes(LLSelectedNodeFunctor* func, bool firstonly = false); | 321 | bool applyToRootNodes(LLSelectedNodeFunctor* func, bool firstonly = false); |
322 | bool applyToNodes(LLSelectedNodeFunctor* func, bool firstonly = false); | 322 | bool applyToNodes(LLSelectedNodeFunctor* func, bool firstonly = false); |
323 | 323 | ||
324 | ESelectType getSelectType() { return mSelectType; } | 324 | ESelectType getSelectType() const { return mSelectType; } |
325 | 325 | ||
326 | private: | 326 | private: |
327 | const LLObjectSelection &operator=(const LLObjectSelection &); | 327 | const LLObjectSelection &operator=(const LLObjectSelection &); |
@@ -333,7 +333,7 @@ private: | |||
333 | 333 | ||
334 | typedef LLSafeHandle<LLObjectSelection> LLObjectSelectionHandle; | 334 | typedef LLSafeHandle<LLObjectSelection> LLObjectSelectionHandle; |
335 | 335 | ||
336 | class LLSelectMgr : public LLEditMenuHandler | 336 | class LLSelectMgr : public LLEditMenuHandler, public LLSingleton<LLSelectMgr> |
337 | { | 337 | { |
338 | public: | 338 | public: |
339 | static BOOL sRectSelectInclusive; // do we need to surround an object to pick it? | 339 | static BOOL sRectSelectInclusive; // do we need to surround an object to pick it? |
@@ -419,6 +419,7 @@ public: | |||
419 | 419 | ||
420 | // Send deselect messages to simulator, then clear the list | 420 | // Send deselect messages to simulator, then clear the list |
421 | void deselectAll(); | 421 | void deselectAll(); |
422 | void deselectAllForStandingUp(); | ||
422 | 423 | ||
423 | // deselect only if nothing else currently referencing the selection | 424 | // deselect only if nothing else currently referencing the selection |
424 | void deselectUnused(); | 425 | void deselectUnused(); |
@@ -515,6 +516,10 @@ public: | |||
515 | 516 | ||
516 | void selectionResetRotation(); // sets rotation quat to identity | 517 | void selectionResetRotation(); // sets rotation quat to identity |
517 | void selectionRotateAroundZ(F32 degrees); | 518 | void selectionRotateAroundZ(F32 degrees); |
519 | bool selectionMove(const LLVector3& displ, F32 rx, F32 ry, F32 rz, | ||
520 | U32 update_type); | ||
521 | void sendSelectionMove(); | ||
522 | |||
518 | void sendGodlikeRequest(const LLString& request, const LLString& parameter); | 523 | void sendGodlikeRequest(const LLString& request, const LLString& parameter); |
519 | 524 | ||
520 | 525 | ||
@@ -707,8 +712,6 @@ private: | |||
707 | LLAnimPauseRequest mPauseRequest; | 712 | LLAnimPauseRequest mPauseRequest; |
708 | }; | 713 | }; |
709 | 714 | ||
710 | extern LLSelectMgr* gSelectMgr; | ||
711 | |||
712 | // Utilities | 715 | // Utilities |
713 | void dialog_refresh_all(); // Update subscribers to the selection list | 716 | void dialog_refresh_all(); // Update subscribers to the selection list |
714 | 717 | ||