Update svn properties. Formatting cleanup. Remove a compiler warning.
parent
9e8b456bbc
commit
80d8e2889e
|
@ -101,9 +101,11 @@ namespace OpenSim.Data.MySQL
|
|||
BindingFlags.DeclaredOnly);
|
||||
|
||||
foreach (FieldInfo f in m_Fields)
|
||||
{
|
||||
if (f.Name.Substring(0, 2) == "m_")
|
||||
m_FieldMap[f.Name.Substring(2)] = f;
|
||||
}
|
||||
}
|
||||
|
||||
private string[] FieldList
|
||||
{
|
||||
|
|
|
@ -130,7 +130,8 @@ namespace OpenSim.Data.SQLite
|
|||
}
|
||||
else
|
||||
{
|
||||
lock(this) {
|
||||
lock (this)
|
||||
{
|
||||
using (SqliteCommand cmd = new SqliteCommand(InsertAssetSQL, m_conn))
|
||||
{
|
||||
cmd.Parameters.Add(new SqliteParameter(":UUID", Util.ToRawUuidString(asset.FullID)));
|
||||
|
@ -155,7 +156,8 @@ namespace OpenSim.Data.SQLite
|
|||
{
|
||||
LogAssetLoad(asset);
|
||||
|
||||
lock(this) {
|
||||
lock (this)
|
||||
{
|
||||
using (SqliteCommand cmd = new SqliteCommand(UpdateAssetSQL, m_conn))
|
||||
{
|
||||
cmd.Parameters.Add(new SqliteParameter(":UUID", Util.ToRawUuidString(asset.FullID)));
|
||||
|
|
|
@ -40,7 +40,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
|
|||
/// </summary>
|
||||
public class AssetsArchiver
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
/// <summary>
|
||||
/// Archive assets
|
||||
|
|
|
@ -1820,9 +1820,11 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
else
|
||||
{
|
||||
foreach (SceneObjectPart p in m_parts.Values)
|
||||
{
|
||||
if (p.LinkNum > linkPart.LinkNum)
|
||||
p.LinkNum--;
|
||||
}
|
||||
}
|
||||
|
||||
linkPart.ParentID = 0;
|
||||
linkPart.LinkNum = 0;
|
||||
|
|
|
@ -212,8 +212,9 @@ namespace OpenSim.Region.Modules.SvnSerialiser
|
|||
{
|
||||
m_scenes.Add(scene);
|
||||
}
|
||||
//Only register it once, to prevend command being executed x*region times
|
||||
if(m_scenes.Count ==1) {
|
||||
//Only register it once, to prevent command being executed x*region times
|
||||
if (m_scenes.Count == 1)
|
||||
{
|
||||
scene.EventManager.OnPluginConsole += EventManager_OnPluginConsole;
|
||||
}
|
||||
}
|
||||
|
@ -341,7 +342,6 @@ namespace OpenSim.Region.Modules.SvnSerialiser
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
public void LoadAllScenes(int revision)
|
||||
{
|
||||
CheckoutSvn(new SvnRevision(revision));
|
||||
|
|
Loading…
Reference in New Issue