diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index a5daabb..993e8c7 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -2003,10 +2003,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
2003 | 2003 | ||
2004 | public void ScriptSetPhysicsStatus(bool UsePhysics) | 2004 | public void ScriptSetPhysicsStatus(bool UsePhysics) |
2005 | { | 2005 | { |
2006 | if (m_parentGroup != null) | 2006 | if (m_parentGroup == null) |
2007 | { | 2007 | DoPhysicsPropertyUpdate(UsePhysics, false); |
2008 | else | ||
2008 | m_parentGroup.ScriptSetPhysicsStatus(UsePhysics); | 2009 | m_parentGroup.ScriptSetPhysicsStatus(UsePhysics); |
2009 | } | ||
2010 | } | 2010 | } |
2011 | 2011 | ||
2012 | public void SculptTextureCallback(LLUUID textureID, AssetBase texture) | 2012 | public void SculptTextureCallback(LLUUID textureID, AssetBase texture) |
@@ -2407,6 +2407,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
2407 | public void StopMoveToTarget() | 2407 | public void StopMoveToTarget() |
2408 | { | 2408 | { |
2409 | m_parentGroup.stopMoveToTarget(); | 2409 | m_parentGroup.stopMoveToTarget(); |
2410 | |||
2411 | m_parentGroup.ScheduleGroupForTerseUpdate(); | ||
2412 | //m_parentGroup.ScheduleGroupForFullUpdate(); | ||
2410 | } | 2413 | } |
2411 | 2414 | ||
2412 | public void StoreUndoState() | 2415 | public void StoreUndoState() |