From f2d17433bbb942e6b97fe7879f910f8fd2d7a0d6 Mon Sep 17 00:00:00 2001 From: Melanie Date: Tue, 20 Mar 2012 12:34:06 +0100 Subject: Cause prims to be saved if extra physics parameters are changed --- OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Region/Framework') diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index fbe959a..9914c78 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs @@ -1505,6 +1505,7 @@ namespace OpenSim.Region.Framework.Scenes } else m_physicsShapeType = DefaultPhysicsShapeType(); + ParentGroup.HasGroupChanged = true; } } @@ -1518,6 +1519,7 @@ namespace OpenSim.Region.Framework.Scenes m_density = value; ScheduleFullUpdateIfNone(); } + ParentGroup.HasGroupChanged = true; } } @@ -1528,6 +1530,7 @@ namespace OpenSim.Region.Framework.Scenes { if( value >= -1 && value <=28.0f) m_gravitymod = value; ScheduleFullUpdateIfNone(); + ParentGroup.HasGroupChanged = true; } } @@ -1541,6 +1544,7 @@ namespace OpenSim.Region.Framework.Scenes m_friction = value; ScheduleFullUpdateIfNone(); } + ParentGroup.HasGroupChanged = true; } } @@ -1554,6 +1558,7 @@ namespace OpenSim.Region.Framework.Scenes m_bounce = value; ScheduleFullUpdateIfNone(); } + ParentGroup.HasGroupChanged = true; } } -- cgit v1.1