Cover the case where prims are loaded and ParentGroup is not yet set

avinationmerge
Melanie 2012-03-20 18:02:43 +01:00
parent f2d17433bb
commit 7f7801ecb9
1 changed files with 10 additions and 5 deletions

View File

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