aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie Thielker2016-05-23 19:20:05 +0200
committerMelanie Thielker2016-05-23 19:20:05 +0200
commit08bd80f5f4597b7841c02063fa53723cabcc3c4d (patch)
treee3651d867887ea4b979a4e0c61a94018359fc94a /OpenSim/Region
parentFixed discrepancy between code and ini symbols. (diff)
parentMinor improvement over the previous commit -- make sure the code exists in th... (diff)
downloadopensim-SC_OLD-08bd80f5f4597b7841c02063fa53723cabcc3c4d.zip
opensim-SC_OLD-08bd80f5f4597b7841c02063fa53723cabcc3c4d.tar.gz
opensim-SC_OLD-08bd80f5f4597b7841c02063fa53723cabcc3c4d.tar.bz2
opensim-SC_OLD-08bd80f5f4597b7841c02063fa53723cabcc3c4d.tar.xz
Merge branch 'master' of opensimulator.org:/var/git/opensim
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs7
-rwxr-xr-xOpenSim/Region/Framework/Scenes/SceneGraph.cs1
2 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
index d4a929c..ba8b1ee 100644
--- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
@@ -187,6 +187,13 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
187 InventoryFolderBase f = new InventoryFolderBase(folderID, remoteClient.AgentId); 187 InventoryFolderBase f = new InventoryFolderBase(folderID, remoteClient.AgentId);
188 InventoryFolderBase folder = m_Scene.InventoryService.GetFolder(f); 188 InventoryFolderBase folder = m_Scene.InventoryService.GetFolder(f);
189 189
190 if (folder == null && Enum.IsDefined(typeof(FolderType), (sbyte)invType))
191 {
192 folder = m_Scene.InventoryService.GetFolderForType(remoteClient.AgentId, (FolderType)invType);
193 if (folder != null)
194 m_log.DebugFormat("[INVENTORY ACCESS MODULE]: Requested folder not found but found folder for type {0}", invType);
195 }
196
190 if (folder == null || folder.Owner != remoteClient.AgentId) 197 if (folder == null || folder.Owner != remoteClient.AgentId)
191 return; 198 return;
192 199
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index 2ecb55b..f9f795f 100755
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -219,6 +219,7 @@ namespace OpenSim.Region.Framework.Scenes
219 // position). 219 // position).
220 // 220 //
221 // Therefore, JointMoved and JointDeactivated events will be fired as a result of the following Simulate(). 221 // Therefore, JointMoved and JointDeactivated events will be fired as a result of the following Simulate().
222
222 return PhysicsScene.Simulate((float)elapsed); 223 return PhysicsScene.Simulate((float)elapsed);
223 } 224 }
224 225