Cover the case where prims are loaded and ParentGroup is not yet set
parent
f2d17433bb
commit
7f7801ecb9
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue