From 21333e3ffec6edfd5d549e9b683e8ee96d4aca38 Mon Sep 17 00:00:00 2001 From: James Cook Date: Thu, 10 Dec 2009 15:13:52 -0800 Subject: EXT-3333 Cannot edit HUD position using the base of the position arrows HUD attachment edit arrows have projected Z position of 0.0, so we were eliminating half the arrows from the set of available ones. Changed to std::vector and just sort by Z position. Reviewed with Richard. --- indra/newview/llmaniptranslate.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'indra/newview/llmaniptranslate.h') diff --git a/indra/newview/llmaniptranslate.h b/indra/newview/llmaniptranslate.h index 25ff35cc72..d20b86b2f4 100644 --- a/indra/newview/llmaniptranslate.h +++ b/indra/newview/llmaniptranslate.h @@ -89,17 +89,6 @@ protected: F32 getMinGridScale(); private: - struct compare_manipulators - { - bool operator() (const ManipulatorHandle* const a, const ManipulatorHandle* const b) const - { - if (a->mEndPosition.mV[VZ] != b->mEndPosition.mV[VZ]) - return (a->mEndPosition.mV[VZ] < b->mEndPosition.mV[VZ]); - else - return a->mManipID < b->mManipID; - } - }; - S32 mLastHoverMouseX; S32 mLastHoverMouseY; BOOL mSendUpdateOnMouseUp; @@ -116,8 +105,6 @@ private: LLVector3d mDragCursorStartGlobal; LLVector3d mDragSelectionStartGlobal; LLTimer mUpdateTimer; - typedef std::set minpulator_list_t; - minpulator_list_t mProjectedManipulators; LLVector4 mManipulatorVertices[18]; F32 mSnapOffsetMeters; LLVector3 mSnapOffsetAxis; -- cgit v1.2.3