Added calling ScheduleFullUpdate() after SendFullUpdateToAllClients() is called in

several places in LSL_Api.cs.
dsg
Huaiyu (Kitty) Liu 2011-04-08 15:16:39 -07:00
parent 2dccc3205d
commit 7c033f9d08
1 changed files with 9 additions and 0 deletions

View File

@ -1388,6 +1388,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
tmp.Z = (float)scale.z; tmp.Z = (float)scale.z;
part.Scale = tmp; part.Scale = tmp;
part.SendFullUpdateToAllClients(); part.SendFullUpdateToAllClients();
//DSG SYNC
part.ScheduleFullUpdate(new List<SceneObjectPartProperties>() { SceneObjectPartProperties.Scale });
} }
public LSL_Vector llGetScale() public LSL_Vector llGetScale()
@ -5677,6 +5680,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
part.AddTextureAnimation(pTexAnim); part.AddTextureAnimation(pTexAnim);
part.SendFullUpdateToAllClients(); part.SendFullUpdateToAllClients();
part.ParentGroup.HasGroupChanged = true; part.ParentGroup.HasGroupChanged = true;
//DSG SYNC
part.ScheduleFullUpdate(new List<SceneObjectPartProperties>() { SceneObjectPartProperties.TextureAnimation });
} }
public void llTriggerSoundLimited(string sound, double volume, LSL_Vector top_north_east, public void llTriggerSoundLimited(string sound, double volume, LSL_Vector top_north_east,
@ -6189,6 +6195,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
part.ParentGroup.HasGroupChanged = true; part.ParentGroup.HasGroupChanged = true;
} }
part.SendFullUpdateToAllClients(); part.SendFullUpdateToAllClients();
//DSG SYNC
part.ScheduleFullUpdate(new List<SceneObjectPartProperties>() { SceneObjectPartProperties.ParticleSystem });
} }
public void llGroundRepel(double height, int water, double tau) public void llGroundRepel(double height, int water, double tau)