From b01e73cf27a8b209c0129b3a2f40bc2e3094a173 Mon Sep 17 00:00:00 2001 From: Oren Hurvitz Date: Wed, 23 Apr 2014 08:51:28 +0300 Subject: Dynamic textures shouldn't be saved in the assets service (only in the simulator cache) --- .../CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs b/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs index 4bced54..28e53f7 100644 --- a/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs @@ -516,9 +516,9 @@ namespace OpenSim.Region.CoreModules.Scripting.DynamicTexture asset.Description = String.Format("URL image : {0}", Url); if (asset.Description.Length > AssetBase.MAX_ASSET_DESC) asset.Description = asset.Description.Substring(0, AssetBase.MAX_ASSET_DESC); - asset.Local = false; + asset.Local = true; // dynamic images aren't saved in the assets server asset.Temporary = ((Disp & DISP_TEMP) != 0); - scene.AssetService.Store(asset); + scene.AssetService.Store(asset); // this will only save the asset in the local asset cache IJ2KDecoder cacheLayerDecode = scene.RequestModuleInterface(); if (cacheLayerDecode != null) -- cgit v1.1