aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index a0df9a1..05026c3 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -76,7 +76,7 @@ namespace OpenSim.Region.Environment.Scenes
76 /// The last allocated local prim id. When a new local id is requested, the next number in the sequence is 76 /// The last allocated local prim id. When a new local id is requested, the next number in the sequence is
77 /// dispenced. 77 /// dispenced.
78 /// </summary> 78 /// </summary>
79 private uint m_localId = 720000; 79 private uint m_lastAllocatedLocalId = 720000;
80 80
81 private readonly Mutex _primAllocateMutex = new Mutex(false); 81 private readonly Mutex _primAllocateMutex = new Mutex(false);
82 82
@@ -1505,7 +1505,7 @@ namespace OpenSim.Region.Environment.Scenes
1505 uint myID; 1505 uint myID;
1506 1506
1507 _primAllocateMutex.WaitOne(); 1507 _primAllocateMutex.WaitOne();
1508 myID = ++m_localId; 1508 myID = ++m_lastAllocatedLocalId;
1509 _primAllocateMutex.ReleaseMutex(); 1509 _primAllocateMutex.ReleaseMutex();
1510 1510
1511 return myID; 1511 return myID;