load oar; activate area cliping if bounding-origin option is given. as help says
parent
6779f41e21
commit
f6e77e3935
|
@ -227,8 +227,8 @@ namespace OpenSim.Region.CoreModules.World.Archiver
|
||||||
if (boOption != m_boundingOrigin)
|
if (boOption != m_boundingOrigin)
|
||||||
{
|
{
|
||||||
m_boundingOrigin = boOption;
|
m_boundingOrigin = boOption;
|
||||||
m_boundingBox = true;
|
|
||||||
}
|
}
|
||||||
|
m_boundingBox = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options.ContainsKey("bounding-size"))
|
if (options.ContainsKey("bounding-size"))
|
||||||
|
@ -936,6 +936,12 @@ namespace OpenSim.Region.CoreModules.World.Archiver
|
||||||
|
|
||||||
if (m_assetService.GetMetadata(uuid) != null)
|
if (m_assetService.GetMetadata(uuid) != null)
|
||||||
{
|
{
|
||||||
|
sbyte asype = ArchiveConstants.EXTENSION_TO_ASSET_TYPE[extension];
|
||||||
|
if(asype == -2)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// m_log.DebugFormat("[ARCHIVER]: found existing asset {0}",uuid);
|
// m_log.DebugFormat("[ARCHIVER]: found existing asset {0}",uuid);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -944,6 +950,10 @@ namespace OpenSim.Region.CoreModules.World.Archiver
|
||||||
{
|
{
|
||||||
sbyte assetType = ArchiveConstants.EXTENSION_TO_ASSET_TYPE[extension];
|
sbyte assetType = ArchiveConstants.EXTENSION_TO_ASSET_TYPE[extension];
|
||||||
|
|
||||||
|
if(assetType == -2)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
if (assetType == (sbyte)AssetType.Unknown)
|
if (assetType == (sbyte)AssetType.Unknown)
|
||||||
{
|
{
|
||||||
m_log.WarnFormat("[ARCHIVER]: Importing {0} byte asset {1} with unknown type", data.Length, uuid);
|
m_log.WarnFormat("[ARCHIVER]: Importing {0} byte asset {1} with unknown type", data.Length, uuid);
|
||||||
|
|
Loading…
Reference in New Issue