minor: replace veclist.Add(new Vector3(0,0,0)) with Vector3.Zero in InventoryAccessModules.RezObject() - structs are passed by value

TeleportWork
Justin Clark-Casey (justincc) 2013-08-02 00:08:14 +01:00
parent c9695a0a59
commit d4c506e453
1 changed files with 1 additions and 1 deletions

View File

@ -771,7 +771,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
SceneObjectGroup g = SceneObjectSerializer.FromOriginalXmlFormat(xmlData);
objlist.Add(g);
veclist.Add(new Vector3(0, 0, 0));
veclist.Add(Vector3.Zero);
float offsetHeight = 0;
pos = m_Scene.GetNewRezLocation(