err ok not so fast

master
UbitUmarov 2020-05-27 00:18:32 +01:00
parent 563d5d30ee
commit 8f39405380
2 changed files with 6 additions and 0 deletions

View File

@ -228,6 +228,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
} }
if(assetType == (byte)AssetType.Settings) if(assetType == (byte)AssetType.Settings)
{ {
/* this is wrong subtype may need to be checked
if(data == null) if(data == null)
{ {
IEnvironmentModule envModule = m_Scene.RequestModuleInterface<IEnvironmentModule>(); IEnvironmentModule envModule = m_Scene.RequestModuleInterface<IEnvironmentModule>();
@ -241,6 +242,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
return; return;
} }
} }
*/
flags = subType; flags = subType;
} }
else if( assetType == (byte)AssetType.Clothing || else if( assetType == (byte)AssetType.Clothing ||

View File

@ -26,11 +26,15 @@
*/ */
using OpenMetaverse; using OpenMetaverse;
using OpenSim.Framework;
namespace OpenSim.Region.Framework.Interfaces namespace OpenSim.Region.Framework.Interfaces
{ {
public interface IEnvironmentModule public interface IEnvironmentModule
{ {
void ResetEnvironmentSettings(UUID regionUUID); void ResetEnvironmentSettings(UUID regionUUID);
//void FromLightShare(RegionLightShareData wl);
//RegionLightShareData ToLightShare();
//byte[] GetDefaultAssetData(string name);
} }
} }