aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAdelleF2010-10-21 20:16:30 +0100
committerJonathan Freedman2010-10-22 18:33:10 -0400
commit481a44104edd2ec24b92a97dbc1766be2fb1dc70 (patch)
tree2c96aaf863feec3d894517ac2ec08ec9fd60a745
parentMake SImStatsReporter pick ObjectCapacity striaght out of region info (diff)
downloadopensim-SC_OLD-481a44104edd2ec24b92a97dbc1766be2fb1dc70.zip
opensim-SC_OLD-481a44104edd2ec24b92a97dbc1766be2fb1dc70.tar.gz
opensim-SC_OLD-481a44104edd2ec24b92a97dbc1766be2fb1dc70.tar.bz2
opensim-SC_OLD-481a44104edd2ec24b92a97dbc1766be2fb1dc70.tar.xz
This fixes a delay in llSetLinkPrimitiveParamsFast
Signed-off-by: dahlia <dahliaTrimble@gmail.removeme.com>
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 92523d4..e6092d4 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -6892,7 +6892,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6892 6892
6893 public void llSetLinkPrimitiveParamsFast(int linknumber, LSL_List rules) 6893 public void llSetLinkPrimitiveParamsFast(int linknumber, LSL_List rules)
6894 { 6894 {
6895 llSetLinkPrimitiveParams(linknumber, rules); 6895 m_host.AddScriptLPS(1);
6896
6897 List<SceneObjectPart> parts = GetLinkParts(linknumber);
6898
6899 foreach (SceneObjectPart part in parts)
6900 SetPrimParams(part, rules);
6896 } 6901 }
6897 6902
6898 protected void SetPrimParams(SceneObjectPart part, LSL_List rules) 6903 protected void SetPrimParams(SceneObjectPart part, LSL_List rules)