aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llselectmgr.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llselectmgr.h
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/newview/llselectmgr.h')
-rw-r--r--linden/indra/newview/llselectmgr.h11
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
326private: 326private:
327 const LLObjectSelection &operator=(const LLObjectSelection &); 327 const LLObjectSelection &operator=(const LLObjectSelection &);
@@ -333,7 +333,7 @@ private:
333 333
334typedef LLSafeHandle<LLObjectSelection> LLObjectSelectionHandle; 334typedef LLSafeHandle<LLObjectSelection> LLObjectSelectionHandle;
335 335
336class LLSelectMgr : public LLEditMenuHandler 336class LLSelectMgr : public LLEditMenuHandler, public LLSingleton<LLSelectMgr>
337{ 337{
338public: 338public:
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
710extern LLSelectMgr* gSelectMgr;
711
712// Utilities 715// Utilities
713void dialog_refresh_all(); // Update subscribers to the selection list 716void dialog_refresh_all(); // Update subscribers to the selection list
714 717