* 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
parent
9341c71135
commit
1641e4ecb1
|
@ -1027,18 +1027,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="partID"></param>
|
/// <param name="partID"></param>
|
||||||
public void DelinkFromGroup(uint partID)
|
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);
|
SceneObjectPart linkPart = GetChildPart(partID);
|
||||||
|
|
||||||
if (null != linkPart)
|
if (null != linkPart)
|
||||||
|
|
Loading…
Reference in New Issue