Cause prims to be saved if extra physics parameters are changed

avinationmerge
Melanie 2012-03-20 12:34:06 +01:00
parent abd9957198
commit f2d17433bb
1 changed files with 5 additions and 0 deletions

View File

@ -1505,6 +1505,7 @@ namespace OpenSim.Region.Framework.Scenes
} }
else else
m_physicsShapeType = DefaultPhysicsShapeType(); m_physicsShapeType = DefaultPhysicsShapeType();
ParentGroup.HasGroupChanged = true;
} }
} }
@ -1518,6 +1519,7 @@ namespace OpenSim.Region.Framework.Scenes
m_density = value; m_density = value;
ScheduleFullUpdateIfNone(); ScheduleFullUpdateIfNone();
} }
ParentGroup.HasGroupChanged = true;
} }
} }
@ -1528,6 +1530,7 @@ namespace OpenSim.Region.Framework.Scenes
{ if( value >= -1 && value <=28.0f) { if( value >= -1 && value <=28.0f)
m_gravitymod = value; m_gravitymod = value;
ScheduleFullUpdateIfNone(); ScheduleFullUpdateIfNone();
ParentGroup.HasGroupChanged = true;
} }
} }
@ -1541,6 +1544,7 @@ namespace OpenSim.Region.Framework.Scenes
m_friction = value; m_friction = value;
ScheduleFullUpdateIfNone(); ScheduleFullUpdateIfNone();
} }
ParentGroup.HasGroupChanged = true;
} }
} }
@ -1554,6 +1558,7 @@ namespace OpenSim.Region.Framework.Scenes
m_bounce = value; m_bounce = value;
ScheduleFullUpdateIfNone(); ScheduleFullUpdateIfNone();
} }
ParentGroup.HasGroupChanged = true;
} }
} }