Fixed ancient annoyance of enabling any debug info display clobbering object hovertext. Object's real hovertext is now cached, and only substituted if overridden by setDebugText, and is properly recovered when debug text is cleared.
This commit is contained in:
@@ -654,6 +654,9 @@ public:
|
||||
|
||||
// TODO: Make all this stuff private. JC
|
||||
LLPointer<LLHUDText> mText;
|
||||
std::string mHudTextString; //Cache for reset on debug infodisplay toggle.
|
||||
LLColor4 mHudTextColor; //Cache for reset on debug infodisplay toggle.
|
||||
|
||||
LLPointer<LLHUDIcon> mIcon;
|
||||
|
||||
bool mIsNameAttachment;
|
||||
|
||||
Reference in New Issue
Block a user