diff options
author | Justin Clark-Casey (justincc) | 2013-08-02 00:08:14 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-08-02 00:08:14 +0100 |
commit | d4c506e453b1115142eac237d3a1c4f65fa36e26 (patch) | |
tree | dd84bd013f488c3135e754f0c4d2656aa0644297 | |
parent | Move experimental attachments throttling further down the chain so that multi... (diff) | |
download | opensim-SC_OLD-d4c506e453b1115142eac237d3a1c4f65fa36e26.zip opensim-SC_OLD-d4c506e453b1115142eac237d3a1c4f65fa36e26.tar.gz opensim-SC_OLD-d4c506e453b1115142eac237d3a1c4f65fa36e26.tar.bz2 opensim-SC_OLD-d4c506e453b1115142eac237d3a1c4f65fa36e26.tar.xz |
minor: replace veclist.Add(new Vector3(0,0,0)) with Vector3.Zero in InventoryAccessModules.RezObject() - structs are passed by value
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 1203192..68e4e26 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -771,7 +771,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
771 | SceneObjectGroup g = SceneObjectSerializer.FromOriginalXmlFormat(xmlData); | 771 | SceneObjectGroup g = SceneObjectSerializer.FromOriginalXmlFormat(xmlData); |
772 | 772 | ||
773 | objlist.Add(g); | 773 | objlist.Add(g); |
774 | veclist.Add(new Vector3(0, 0, 0)); | 774 | veclist.Add(Vector3.Zero); |
775 | 775 | ||
776 | float offsetHeight = 0; | 776 | float offsetHeight = 0; |
777 | pos = m_Scene.GetNewRezLocation( | 777 | pos = m_Scene.GetNewRezLocation( |