aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins
diff options
context:
space:
mode:
authorMelanie2013-11-23 19:13:22 +0000
committerMelanie2013-11-23 19:13:22 +0000
commit3589acdab1721ee7d227a23dbeb2ccf91cbcb996 (patch)
treea833014a1fedd774e7a9a01cd89a7edddb4210ba /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins
parentMerge branch 'master' into careminster (diff)
parentRevert "Fix issue where sitting on non-root linked prims would send camera to... (diff)
downloadopensim-SC-3589acdab1721ee7d227a23dbeb2ccf91cbcb996.zip
opensim-SC-3589acdab1721ee7d227a23dbeb2ccf91cbcb996.tar.gz
opensim-SC-3589acdab1721ee7d227a23dbeb2ccf91cbcb996.tar.bz2
opensim-SC-3589acdab1721ee7d227a23dbeb2ccf91cbcb996.tar.xz
Merge branch 'master' into careminster
Conflicts: .gitignore OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs prebuild.xml runprebuild.bat
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
index 44a7c14..181399d 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
@@ -368,7 +368,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
368 368
369 Vector3 ZeroVector = new Vector3(0, 0, 0); 369 Vector3 ZeroVector = new Vector3(0, 0, 0);
370 370
371 bool nameSearch = (ts.name != null && ts.name != ""); 371 bool nameSearch = !string.IsNullOrEmpty(ts.name);
372 372
373 foreach (EntityBase ent in Entities) 373 foreach (EntityBase ent in Entities)
374 { 374 {
@@ -608,7 +608,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
608 return sensedEntities; 608 return sensedEntities;
609 senseEntity(sp); 609 senseEntity(sp);
610 } 610 }
611 else if (ts.name != null && ts.name != "") 611 else if (!string.IsNullOrEmpty(ts.name))
612 { 612 {
613 ScenePresence sp; 613 ScenePresence sp;
614 // Try lookup by name will return if/when found 614 // Try lookup by name will return if/when found