aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
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
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')
-rw-r--r--OpenSim/Framework/Monitoring/WorkManager.cs5
-rw-r--r--OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs7
-rwxr-xr-xOpenSim/Region/Framework/Scenes/SceneGraph.cs1
3 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Framework/Monitoring/WorkManager.cs b/OpenSim/Framework/Monitoring/WorkManager.cs
index d1a74ce..a7a03a0 100644
--- a/OpenSim/Framework/Monitoring/WorkManager.cs
+++ b/OpenSim/Framework/Monitoring/WorkManager.cs
@@ -121,7 +121,8 @@ namespace OpenSim.Framework.Monitoring
121 Thread thread = new Thread(start); 121 Thread thread = new Thread(start);
122 thread.Priority = priority; 122 thread.Priority = priority;
123 thread.IsBackground = isBackground; 123 thread.IsBackground = isBackground;
124 124 thread.Name = name;
125
125 Watchdog.ThreadWatchdogInfo twi 126 Watchdog.ThreadWatchdogInfo twi
126 = new Watchdog.ThreadWatchdogInfo(thread, timeout, name) 127 = new Watchdog.ThreadWatchdogInfo(thread, timeout, name)
127 { AlarmIfTimeout = alarmIfTimeout, AlarmMethod = alarmMethod }; 128 { AlarmIfTimeout = alarmIfTimeout, AlarmMethod = alarmMethod };
@@ -129,7 +130,7 @@ namespace OpenSim.Framework.Monitoring
129 Watchdog.AddThread(twi, name, log:log); 130 Watchdog.AddThread(twi, name, log:log);
130 131
131 thread.Start(); 132 thread.Start();
132 thread.Name = name; 133
133 134
134 return thread; 135 return thread;
135 } 136 }
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