diff options
author | lbsa71 | 2007-05-21 00:11:55 +0000 |
---|---|---|
committer | lbsa71 | 2007-05-21 00:11:55 +0000 |
commit | 4d5c9499f81599ec260e1e71005d6482657d02ac (patch) | |
tree | 863050be1786dc7168829f0529a7db4ae84b6366 /OpenSim.RegionServer/world/Primitive2.cs | |
parent | * Minor tweaks with new userserver (diff) | |
download | opensim-SC_OLD-4d5c9499f81599ec260e1e71005d6482657d02ac.zip opensim-SC_OLD-4d5c9499f81599ec260e1e71005d6482657d02ac.tar.gz opensim-SC_OLD-4d5c9499f81599ec260e1e71005d6482657d02ac.tar.bz2 opensim-SC_OLD-4d5c9499f81599ec260e1e71005d6482657d02ac.tar.xz |
* minor refactoring for readability (and to lessen greed)
Diffstat (limited to 'OpenSim.RegionServer/world/Primitive2.cs')
-rw-r--r-- | OpenSim.RegionServer/world/Primitive2.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim.RegionServer/world/Primitive2.cs b/OpenSim.RegionServer/world/Primitive2.cs index 5e76fd1..3b39456 100644 --- a/OpenSim.RegionServer/world/Primitive2.cs +++ b/OpenSim.RegionServer/world/Primitive2.cs | |||
@@ -287,13 +287,13 @@ namespace OpenSim.world | |||
287 | 287 | ||
288 | #region Create Methods | 288 | #region Create Methods |
289 | 289 | ||
290 | public void CreateFromPacket(ObjectAddPacket addPacket, LLUUID agentID, uint localID) | 290 | public void CreateFromPacket(ObjectAddPacket addPacket, LLUUID ownerID, uint localID) |
291 | { | 291 | { |
292 | PrimData PData = new PrimData(); | 292 | PrimData PData = new PrimData(); |
293 | this.primData = PData; | 293 | this.primData = PData; |
294 | this.primData.CreationDate = (Int32)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds; | 294 | this.primData.CreationDate = (Int32)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds; |
295 | 295 | ||
296 | PData.OwnerID = agentID; | 296 | PData.OwnerID = ownerID; |
297 | PData.PCode = addPacket.ObjectData.PCode; | 297 | PData.PCode = addPacket.ObjectData.PCode; |
298 | PData.PathBegin = addPacket.ObjectData.PathBegin; | 298 | PData.PathBegin = addPacket.ObjectData.PathBegin; |
299 | PData.PathEnd = addPacket.ObjectData.PathEnd; | 299 | PData.PathEnd = addPacket.ObjectData.PathEnd; |