* Fixed attaching objects that are in-world.

This commit is contained in:
Teravus Ovares
2008-05-14 21:17:57 +00:00
parent 587f6ab645
commit e45ace9b54
2 changed files with 3 additions and 3 deletions

View File

@@ -397,7 +397,7 @@ namespace OpenSim.Region.Environment.Scenes
if (((SceneObjectGroup)obj).LocalId == objectLocalID)
{
SceneObjectGroup group = (SceneObjectGroup)obj;
if (m_parentScene.ExternalChecks.ExternalChecksCanEditScript(obj.UUID, remoteClient.AgentId))
if (m_parentScene.ExternalChecks.ExternalChecksCanTakeObject(obj.UUID, remoteClient.AgentId))
{
// If the attachment point isn't the same as the one previously used
// set it's offset position = 0 so that it appears on the attachment point