diff options
author | Charles Krinke | 2008-06-05 13:54:20 +0000 |
---|---|---|
committer | Charles Krinke | 2008-06-05 13:54:20 +0000 |
commit | 3a4b54adaa25de61aee04f71a88de86535b35670 (patch) | |
tree | 8771d4c25acc93786a550b660e37b4af3496b2b3 /OpenSim/Region/Examples/SimpleModule | |
parent | * This sends collision events to the script engine. (diff) | |
download | opensim-SC_OLD-3a4b54adaa25de61aee04f71a88de86535b35670.zip opensim-SC_OLD-3a4b54adaa25de61aee04f71a88de86535b35670.tar.gz opensim-SC_OLD-3a4b54adaa25de61aee04f71a88de86535b35670.tar.bz2 opensim-SC_OLD-3a4b54adaa25de61aee04f71a88de86535b35670.tar.xz |
Mantis#1451. Thank you kindly, Mikem for a patch that addresses:
LSL scripts in which a float type is cast to a string or a string type
is cast to a float do not compile. When the script is translated from
LSL to C#, the LSL float type is translated into double. There is no
string <-> double cast in C#, so compilation fails.
There is a LSLFloat type, however it seems unfinished and is not used.
I am attaching a patch that implements the LSLFloat type. I have also
added two methods to the LSLString type to facilitate float <-> string casts.
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule')
0 files changed, 0 insertions, 0 deletions