diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 6 |
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 |