diff options
author | Dahlia Trimble | 2008-07-25 20:45:06 +0000 |
---|---|---|
committer | Dahlia Trimble | 2008-07-25 20:45:06 +0000 |
commit | c5121203895123d03d3f558c607ca74bb831aba3 (patch) | |
tree | 181bda8ce3e01fd4cc50befec1957b924d0f9dc4 /OpenSim/Region | |
parent | Re-enables testing for config option mesh_sculpted_prim which was inadvertent... (diff) | |
download | opensim-SC-c5121203895123d03d3f558c607ca74bb831aba3.zip opensim-SC-c5121203895123d03d3f558c607ca74bb831aba3.tar.gz opensim-SC-c5121203895123d03d3f558c607ca74bb831aba3.tar.bz2 opensim-SC-c5121203895123d03d3f558c607ca74bb831aba3.tar.xz |
Attempt to update viewer for some physics status changes in SOP
Diffstat (limited to 'OpenSim/Region')
-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() |