aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs2
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs4
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs2
3 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index 50122f5..1c421b7 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -1494,7 +1494,7 @@ namespace OpenSim.Region.Environment.Scenes
1494 protected internal void MakeObjectSearchable(IClientAPI remoteClient, bool IncludeInSearch, uint localID) 1494 protected internal void MakeObjectSearchable(IClientAPI remoteClient, bool IncludeInSearch, uint localID)
1495 { 1495 {
1496 UUID user = remoteClient.AgentId; 1496 UUID user = remoteClient.AgentId;
1497 UUID objid = null; 1497 UUID objid = UUID.Zero;
1498 SceneObjectPart obj = null; 1498 SceneObjectPart obj = null;
1499 1499
1500 List<EntityBase> EntityList = GetEntities(); 1500 List<EntityBase> EntityList = GetEntities();
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index 186e13e..560e17e 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -1371,7 +1371,7 @@ namespace OpenSim.Region.Environment.Scenes
1371 taskItem.Flags = itemBase.Flags; 1371 taskItem.Flags = itemBase.Flags;
1372 taskItem.PermsGranter = UUID.Zero; 1372 taskItem.PermsGranter = UUID.Zero;
1373 taskItem.PermsMask = 0; 1373 taskItem.PermsMask = 0;
1374 taskItem.AssetID = asset.ID; 1374 taskItem.AssetID = asset.FullID;
1375 1375
1376 part.AddInventoryItem(taskItem); 1376 part.AddInventoryItem(taskItem);
1377 part.GetProperties(remoteClient); 1377 part.GetProperties(remoteClient);
@@ -1616,7 +1616,7 @@ namespace OpenSim.Region.Environment.Scenes
1616 // FIXME: This needs to be fixed. 1616 // FIXME: This needs to be fixed.
1617 m_log.ErrorFormat( 1617 m_log.ErrorFormat(
1618 "[AGENT INVENTORY]: Queued deletion of scene object to agent {0} {1} failed: {2}", 1618 "[AGENT INVENTORY]: Queued deletion of scene object to agent {0} {1} failed: {2}",
1619 (x != null ? x.remoteClient.Name : "unavailable"), (x != null ? x.remoteClient.AgentId : "unavailable"), e.ToString()); 1619 (x != null ? x.remoteClient.Name : "unavailable"), (x != null ? x.remoteClient.AgentId.ToString() : "unavailable"), e.ToString());
1620 } 1620 }
1621 1621
1622 m_log.Info("No objects left in inventory delete queue."); 1622 m_log.Info("No objects left in inventory delete queue.");
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 08de087..f08f4a4 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -915,7 +915,7 @@ namespace OpenSim.Region.Environment.Scenes
915 { 915 {
916 return part.UUID; 916 return part.UUID;
917 } 917 }
918 return null; 918 return UUID.Zero;
919 } 919 }
920 920
921 public void ObjectGrabHandler(uint localId, Vector3 offsetPos, IClientAPI remoteClient) 921 public void ObjectGrabHandler(uint localId, Vector3 offsetPos, IClientAPI remoteClient)