Cool VL Viewer forum
http://sldev.free.fr/forum/

Keyboard shortcuts in the gesture menu are glitched [Patch]
http://sldev.free.fr/forum/viewtopic.php?f=10&t=2615
Page 1 of 1

Author:  MagicCraftMaster [ 2024-12-20 01:55:51 ]
Post subject:  Keyboard shortcuts in the gesture menu are glitched [Patch]

When viewing gestures in the gesture floater I noticed that when I sorted by key that the buttons were all incorrect. The seemed to be "bleeding" into each-other. I looked into the code and found that a singular variable wasn't being reset properly. I simply added a singular line in the offending block and this fixed the issue.
All I did was insert the following on line 198:
Code:
buffer = "";

diff:
Code:
--- linden/indra/newview/llfloatergesture.cpp
+++ linden-patched/indra/newview/llfloatergesture.cpp
@@ -195,6 +195,7 @@
          }
          else
          {
+            buffer = "";
             key_string = LLKeyboard::stringFromKey(gesture->mKey);
             if (gesture->mMask & MASK_ALT)
             {



Author:  Henri Beauchamp [ 2024-12-20 07:16:22 ]
Post subject:  Re: Keyboard shortcuts in the gesture menu are glitched [Pat

Thank you. Your fix will be part of next release.

EDIT: I added you to the credits in the About floater, using your forum login name ("MagicCraftMaster"). Let me know if you want another name than this one to be listed instead.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/