Merge branch 'ubitwork' into avination

avinationmerge
Melanie 2013-01-16 23:37:27 +01:00
commit 777c80becb
3 changed files with 11 additions and 7 deletions

View File

@ -2369,6 +2369,8 @@ namespace OpenSim.Region.Framework.Scenes
if (pa != null) if (pa != null)
pa.PIDActive = false; pa.PIDActive = false;
RootPart.ScheduleTerseUpdate(); // send a stop information
} }
public void rotLookAt(Quaternion target, float strength, float damping) public void rotLookAt(Quaternion target, float strength, float damping)

View File

@ -3760,7 +3760,7 @@ namespace OpenSim.Region.Framework.Scenes
{ {
ParentGroup.stopMoveToTarget(); ParentGroup.stopMoveToTarget();
ParentGroup.ScheduleGroupForTerseUpdate(); // ParentGroup.ScheduleGroupForTerseUpdate();
//ParentGroup.ScheduleGroupForFullUpdate(); //ParentGroup.ScheduleGroupForFullUpdate();
} }

View File

@ -2309,9 +2309,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
else else
{ {
part.OffsetPosition = (Vector3)toPos; part.OffsetPosition = (Vector3)toPos;
SceneObjectGroup parent = part.ParentGroup; // SceneObjectGroup parent = part.ParentGroup;
parent.HasGroupChanged = true; // parent.HasGroupChanged = true;
parent.ScheduleGroupForTerseUpdate(); // parent.ScheduleGroupForTerseUpdate();
part.ScheduleTerseUpdate();
} }
} }
@ -8341,9 +8342,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
else else
{ {
part.OffsetPosition = currentPosition; part.OffsetPosition = currentPosition;
SceneObjectGroup parent = part.ParentGroup; // SceneObjectGroup parent = part.ParentGroup;
parent.HasGroupChanged = true; // parent.HasGroupChanged = true;
parent.ScheduleGroupForTerseUpdate(); // parent.ScheduleGroupForTerseUpdate();
part.ScheduleTerseUpdate();
} }
} }
} }