Attempt to update viewer for some physics status changes in SOP

0.6.0-stable
Dahlia Trimble 2008-07-25 20:45:06 +00:00
parent 3035f5cb64
commit c512120389
1 changed files with 6 additions and 3 deletions

View File

@ -2003,11 +2003,11 @@ namespace OpenSim.Region.Environment.Scenes
public void ScriptSetPhysicsStatus(bool UsePhysics) public void ScriptSetPhysicsStatus(bool UsePhysics)
{ {
if (m_parentGroup != null) if (m_parentGroup == null)
{ DoPhysicsPropertyUpdate(UsePhysics, false);
else
m_parentGroup.ScriptSetPhysicsStatus(UsePhysics); m_parentGroup.ScriptSetPhysicsStatus(UsePhysics);
} }
}
public void SculptTextureCallback(LLUUID textureID, AssetBase texture) public void SculptTextureCallback(LLUUID textureID, AssetBase texture)
{ {
@ -2407,6 +2407,9 @@ namespace OpenSim.Region.Environment.Scenes
public void StopMoveToTarget() public void StopMoveToTarget()
{ {
m_parentGroup.stopMoveToTarget(); m_parentGroup.stopMoveToTarget();
m_parentGroup.ScheduleGroupForTerseUpdate();
//m_parentGroup.ScheduleGroupForFullUpdate();
} }
public void StoreUndoState() public void StoreUndoState()