Details
-
Story Defect
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Second Life 3.6.11 (284217) Nov 21 2013 17:47:31 (Second Life Test)
Release Notes
You are at 126.7, 112.5, 23.0 in Xing1 PHX located at sim3003.aditi.lindenlab.com (216.82.16.122:13000)
SLURL: secondlife://Aditi/secondlife/Xing1%20PHX/127/112/23
(global coordinates 331391.0, 309360.0, 23.0)
DRTSIM-240 13.12.17.284928
Release Notes
CPU: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz (2800 MHz)
Memory: 4096 MB
OS Version: Mac OS X 10.6.8 Darwin 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: NVIDIA GeForce 9600M GT OpenGL Engine
OpenGL Version: 2.1 NVIDIA-1.6.36
libcurl Version: libcurl/7.21.1 OpenSSL/0.9.8q zlib/1.2.5 c-ares/1.7.1
J2C Decoder Version: KDU v7.0
Audio Driver Version: FMOD Ex 4.44.12
Qt Webkit Version: 4.7.1 (version number hard-coded)
Voice Server Version: Vivox 4.5.0009.17865
Built with GCC version 40201
Packets Lost: 0/8388 (0.0%)Second Life 3.6.11 (284217) Nov 21 2013 17:47:31 (Second Life Test) Release Notes You are at 126.7, 112.5, 23.0 in Xing1 PHX located at sim3003.aditi.lindenlab.com (216.82.16.122:13000) SLURL: secondlife://Aditi/secondlife/Xing1%20PHX/127/112/23 (global coordinates 331391.0, 309360.0, 23.0) DRTSIM-240 13.12.17.284928 Release Notes CPU: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz (2800 MHz) Memory: 4096 MB OS Version: Mac OS X 10.6.8 Darwin 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 Graphics Card Vendor: NVIDIA Corporation Graphics Card: NVIDIA GeForce 9600M GT OpenGL Engine OpenGL Version: 2.1 NVIDIA-1.6.36 libcurl Version: libcurl/7.21.1 OpenSSL/0.9.8q zlib/1.2.5 c-ares/1.7.1 J2C Decoder Version: KDU v7.0 Audio Driver Version: FMOD Ex 4.44.12 Qt Webkit Version: 4.7.1 (version number hard-coded) Voice Server Version: Vivox 4.5.0009.17865 Built with GCC version 40201 Packets Lost: 0/8388 (0.0%)
Description
While auditing the syntax highlighting of every LSL keyword in this viewer, I noticed that some functions have the arguments presented in the incorrect order. For example, llCastRay() should show this:
list llCastRay( vector Start, vector End, list Options );
|
but instead I see this in the function tooltip:
list llCastRay( vector End, list Options, vector Start );
|
It appears that the arguments are being presented in alphabetical order of the variable name instead of the actual order.
I noticed a few other functions have the same issue:
- llClearLinkMedia() arguments reversed: should be "integer llClearLinkMedia( integer link, integer face );"
- llAxisAngle2Rot arguments reversed: should be "rotation llAxisAngle2Rot( vector axis, float angle );"
There are probably several other cases, but I stopped looking after noticing this alphabetical sorting trend.
When I query the LSLSyntax capability manually, I see the correct order for these functions under the 'arguments' map. However, the cached viewer syntax file shows the incorrect order.
I believe that the viewer is sorting the arguments map alphabetically to cause this bug, in addition to sorting functions by name. I think this sorting is unnecessary and shouldn't be done at any scope within the xml.
Attachments
Issue Links
- related
-
STORM-1831 Obtain LSL syntax table from simulator so that it is always up to date
-
- Closed
-