mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Merge branch 'master' into careminster
Conflicts: OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs OpenSim/Tests/Common/Mock/TestClient.cs
This commit is contained in:
@@ -941,7 +941,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
if (sog != null)
|
||||
{
|
||||
if (sog.HasChildPrim(localID))
|
||||
if (sog.ContainsPart(localID))
|
||||
{
|
||||
// m_log.DebugFormat(
|
||||
// "[SCENE GRAPH]: Found scene object {0} {1} {2} containing part with local id {3} in {4}. Returning.",
|
||||
@@ -969,7 +969,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
if (ent is SceneObjectGroup)
|
||||
{
|
||||
sog = (SceneObjectGroup)ent;
|
||||
if (sog.HasChildPrim(localID))
|
||||
if (sog.ContainsPart(localID))
|
||||
{
|
||||
lock (SceneObjectGroupsByLocalPartID)
|
||||
SceneObjectGroupsByLocalPartID[localID] = sog;
|
||||
@@ -1007,7 +1007,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
if (ent is SceneObjectGroup)
|
||||
{
|
||||
sog = (SceneObjectGroup)ent;
|
||||
if (sog.HasChildPrim(fullID))
|
||||
if (sog.ContainsPart(fullID))
|
||||
{
|
||||
lock (SceneObjectGroupsByFullPartID)
|
||||
SceneObjectGroupsByFullPartID[fullID] = sog;
|
||||
@@ -1096,7 +1096,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
SceneObjectGroup group = GetGroupByPrim(localID);
|
||||
if (group == null)
|
||||
return null;
|
||||
return group.GetChildPart(localID);
|
||||
return group.GetPart(localID);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1143,7 +1143,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
SceneObjectGroup group = GetGroupByPrim(fullID);
|
||||
if (group == null)
|
||||
return null;
|
||||
return group.GetChildPart(fullID);
|
||||
return group.GetPart(fullID);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user