mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Formatting cleanup.
This commit is contained in:
@@ -42,7 +42,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private string m_inventoryFileName = String.Empty;
|
||||
private int m_inventoryFileNameSerial = 0;
|
||||
private int m_inventoryFileNameSerial = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Exposing this is not particularly good, but it's one of the least evils at the moment to see
|
||||
@@ -445,16 +445,16 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
return -1;
|
||||
}
|
||||
|
||||
public string GetInventoryFileName()
|
||||
{
|
||||
if(m_inventoryFileName == String.Empty)
|
||||
m_inventoryFileName = "inventory_" + LLUUID.Random().ToString() + ".tmp";
|
||||
if(m_inventoryFileNameSerial < m_inventorySerial)
|
||||
{
|
||||
m_inventoryFileName = "inventory_" + LLUUID.Random().ToString() + ".tmp";
|
||||
}
|
||||
return m_inventoryFileName;
|
||||
}
|
||||
public string GetInventoryFileName()
|
||||
{
|
||||
if (m_inventoryFileName == String.Empty)
|
||||
m_inventoryFileName = "inventory_" + LLUUID.Random().ToString() + ".tmp";
|
||||
if (m_inventoryFileNameSerial < m_inventorySerial)
|
||||
{
|
||||
m_inventoryFileName = "inventory_" + LLUUID.Random().ToString() + ".tmp";
|
||||
}
|
||||
return m_inventoryFileName;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Return the name with which a client can request a xfer of this prim's inventory metadata
|
||||
|
||||
Reference in New Issue
Block a user