aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs9
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs4
2 files changed, 6 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 45a5f9a..ff91cfa 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -1827,7 +1827,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1827 if (flexi) 1827 if (flexi)
1828 { 1828 {
1829 part.Shape.FlexiEntry = true; // this setting flexi true isn't working, but the below parameters do 1829 part.Shape.FlexiEntry = true; // this setting flexi true isn't working, but the below parameters do
1830 // work once the prim is already flexi 1830 // work once the prim is already flexi
1831 part.Shape.FlexiSoftness = softness; 1831 part.Shape.FlexiSoftness = softness;
1832 part.Shape.FlexiGravity = gravity; 1832 part.Shape.FlexiGravity = gravity;
1833 part.Shape.FlexiDrag = friction; 1833 part.Shape.FlexiDrag = friction;
@@ -1837,10 +1837,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1837 part.Shape.FlexiForceY = (float)Force.y; 1837 part.Shape.FlexiForceY = (float)Force.y;
1838 part.Shape.FlexiForceZ = (float)Force.z; 1838 part.Shape.FlexiForceZ = (float)Force.z;
1839 part.Shape.PathCurve = 0x80; 1839 part.Shape.PathCurve = 0x80;
1840 part.ParentGroup.HasGroupChanged = true;
1841 part.ScheduleFullUpdate();
1840 } 1842 }
1841
1842 part.ParentGroup.HasGroupChanged = true;
1843 part.ScheduleFullUpdate();
1844 } 1843 }
1845 1844
1846 /// <summary> 1845 /// <summary>
@@ -11199,7 +11198,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
11199 11198
11200 if (checkAgents) 11199 if (checkAgents)
11201 { 11200 {
11202 World.ForEachScenePresence(delegate(ScenePresence sp) 11201 World.ForEachRootScenePresence(delegate(ScenePresence sp)
11203 { 11202 {
11204 if (sp.AbsolutePosition.ApproxEquals(posToCheck, sp.PhysicsActor.Size.X)) 11203 if (sp.AbsolutePosition.ApproxEquals(posToCheck, sp.PhysicsActor.Size.X))
11205 { 11204 {
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
index 6de0773..ed5a2fe 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
@@ -510,7 +510,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
510 senseEntity(sp); 510 senseEntity(sp);
511 if ((ts.type & AGENT_BY_USERNAME) != 0) 511 if ((ts.type & AGENT_BY_USERNAME) != 0)
512 { 512 {
513 m_CmdManager.m_ScriptEngine.World.ForEachScenePresence( 513 m_CmdManager.m_ScriptEngine.World.ForEachRootScenePresence(
514 delegate (ScenePresence ssp) 514 delegate (ScenePresence ssp)
515 { 515 {
516 if (ssp.Lastname == "Resident") 516 if (ssp.Lastname == "Resident")
@@ -529,7 +529,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
529 } 529 }
530 else 530 else
531 { 531 {
532 m_CmdManager.m_ScriptEngine.World.ForEachScenePresence(senseEntity); 532 m_CmdManager.m_ScriptEngine.World.ForEachRootScenePresence(senseEntity);
533 } 533 }
534 return sensedEntities; 534 return sensedEntities;
535 } 535 }