Patch from Melanie: 0001087: Crash to bash de-linking objects. Thanks Melanie!

0.6.0-stable
Teravus Ovares 2008-04-29 13:53:24 +00:00
parent 2ae933a88b
commit 9907c0fd10
1 changed files with 2 additions and 1 deletions

View File

@ -1814,9 +1814,10 @@ namespace OpenSim.Region.Environment.Scenes
public void DelinkFromGroup(uint partID)
{
SceneObjectPart linkPart = GetChildPart(partID);
linkPart.ClearUndoState();
if (null != linkPart)
{
linkPart.ClearUndoState();
// m_log.DebugFormat(
// "[SCENE OBJECT GROUP]: Delinking part {0}, {1} from group with root part {2}, {3}",
// linkPart.Name, linkPart.UUID, RootPart.Name, RootPart.UUID);