We should be able to trigger a left-click on an animesh object when the mouse is hovering over it, and the left mouse button is pressed. The viewer should also detect mouse hovering over animesh objects. This functionality is almost fully implemented, with references to the debug setting AnimatedObjectsAllowLeftClick and the variable pick_rigged across several files.
Currently, this debug setting is forced to false in the source code due to concerns about FPS drops. However, there is no FPS drop associated with clicks, and the FPS drop caused by hovering can be addressed.
I made this request three years ago, and it was accepted, nearing inclusion in the official viewer code. However, it was ultimately cancelled because someone at the Lab mentioned: "In scope of hover I suggest using cached variant of settings LLCachedControl, it is fine to get value on clicks, but hover is going to be calling it way too often." Unfortunately, this approach was never implemented.
Was there another issue that caused the cancellation? I never received any further updates on this request.
I attach (or will, the upload file system here doesn't work very well) the updated files, where you will find my changes marked with the following comments:
Edit: Uploading files here (.cpp and .h) works randomly, about 1 time out of 10. I decided to upload them to Google Drive instead, accessible here:
// [-- Click-Hover-AltZoom Animesh --]
.....
// [-- /Click-Hover-AltZoom Animesh --]
Edit 2: I forgot to mention that I've been using my FireStorm version with my code for over 3 years now without any issues. Of course, the files I’m uploading here are based on the latest SecondLife official viewer (7.1.11.242541623).