* Remove stupid bug I just introduced where delinking would only delink one prim at a time.

* Teaches me not to say stuff like 'this is now working'
0.6.0-stable
Justin Clarke Casey 2008-03-14 18:51:51 +00:00
parent 9341c71135
commit 1641e4ecb1
1 changed files with 1 additions and 12 deletions

View File

@ -1027,18 +1027,7 @@ namespace OpenSim.Region.Environment.Scenes
/// </summary>
/// <param name="partID"></param>
public void DelinkFromGroup(uint partID)
{
// Don't try and update if we're already in the middle of updating
if (RootPart.UpdateFlag > 0)
{
// I've never actually seen this happen, though I think it's theoretically possible
m_log.WarnFormat(
"[SCENE OBJECT GROUP]: Aborted delink update for {0}, {1} as it has yet to finish linking",
RootPart.Name, RootPart.UUID);
return;
}
{
SceneObjectPart linkPart = GetChildPart(partID);
if (null != linkPart)