mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 18:55:39 +08:00
fix spurious loading... messages on iar load by creating folders as version 1 rather than version 0
This commit is contained in:
@@ -70,7 +70,6 @@ namespace OpenSim.Framework.AssetLoader.Filesystem
|
||||
long numBytes = fInfo.Length;
|
||||
if (fInfo.Exists)
|
||||
{
|
||||
|
||||
FileStream fStream = new FileStream(path, FileMode.Open, FileAccess.Read);
|
||||
byte[] idata = new byte[numBytes];
|
||||
BinaryReader br = new BinaryReader(fStream);
|
||||
@@ -86,7 +85,6 @@ namespace OpenSim.Framework.AssetLoader.Filesystem
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void ForEachDefaultXmlAsset(string assetSetFilename, Action<AssetBase> action)
|
||||
{
|
||||
List<AssetBase> assets = new List<AssetBase>();
|
||||
|
||||
@@ -294,7 +294,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
|
||||
destFolder
|
||||
= new InventoryFolderBase(
|
||||
newFolderId, newFolderName, m_userInfo.UserProfile.ID,
|
||||
(short)AssetType.Folder, destFolder.ID, 0);
|
||||
(short)AssetType.Folder, destFolder.ID, 1);
|
||||
m_scene.InventoryService.AddFolder(destFolder);
|
||||
|
||||
// UUID newFolderId = UUID.Random();
|
||||
|
||||
@@ -1293,7 +1293,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
|
||||
m_log.Warn("[TERRAIN]: Scene.cs: LoadWorldMap() - Failed with exception " + e.ToString() + " Regenerating");
|
||||
|
||||
// Non standard region size. If there's an old terrain in the database, it might read past the buffer
|
||||
|
||||
Reference in New Issue
Block a user