aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2010-10-21 07:19:10 +0100
committerJonathan Freedman2010-10-22 18:27:12 -0400
commit6049e548a5eb33adc41141c365acffd73642b600 (patch)
tree08e3996bb0ee22bbad9f4bb4b43c21605f3f4a9e /OpenSim
parentfix combining of multiple physics submeshes (diff)
downloadopensim-SC_OLD-6049e548a5eb33adc41141c365acffd73642b600.zip
opensim-SC_OLD-6049e548a5eb33adc41141c365acffd73642b600.tar.gz
opensim-SC_OLD-6049e548a5eb33adc41141c365acffd73642b600.tar.bz2
opensim-SC_OLD-6049e548a5eb33adc41141c365acffd73642b600.tar.xz
Skip empty strings in ParseString* functions
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 8bf9482..cc6ded7 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -8404,6 +8404,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
8404 8404
8405 for (j = 0; j < seplen; j++) 8405 for (j = 0; j < seplen; j++)
8406 { 8406 {
8407 if (separray[j].ToString() == String.Empty)
8408 active[j] = false;
8409
8407 if (active[j]) 8410 if (active[j])
8408 { 8411 {
8409 // scan all of the markers 8412 // scan all of the markers
@@ -8432,6 +8435,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
8432 { 8435 {
8433 for (j = seplen; (j < mlen) && (offset[best] > beginning); j++) 8436 for (j = seplen; (j < mlen) && (offset[best] > beginning); j++)
8434 { 8437 {
8438 if (spcarray[j].ToString() == String.Empty)
8439 active[j] = false;
8440
8435 if (active[j]) 8441 if (active[j])
8436 { 8442 {
8437 // scan all of the markers 8443 // scan all of the markers