diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 9 |
1 files changed, 4 insertions, 5 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 | { |