diff options
author | Diva Canto | 2012-11-11 19:39:21 -0800 |
---|---|---|
committer | Diva Canto | 2012-11-11 19:39:21 -0800 |
commit | db418bff2bb6b2676c996e77b260b0977e886f5d (patch) | |
tree | 22efac35f69b9ac51bc784ffb8352339bc0f04f8 /OpenSim/Region/CoreModules/Scripting/DynamicTexture | |
parent | One more module converted: WebStatsModule. (diff) | |
download | opensim-SC_OLD-db418bff2bb6b2676c996e77b260b0977e886f5d.zip opensim-SC_OLD-db418bff2bb6b2676c996e77b260b0977e886f5d.tar.gz opensim-SC_OLD-db418bff2bb6b2676c996e77b260b0977e886f5d.tar.bz2 opensim-SC_OLD-db418bff2bb6b2676c996e77b260b0977e886f5d.tar.xz |
Fix issues with the DynamicTextureModule and corresponding unit tests.
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting/DynamicTexture')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs b/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs index 9d90517..9d77b19 100644 --- a/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs | |||
@@ -83,6 +83,16 @@ namespace OpenSim.Region.CoreModules.Scripting.DynamicTexture | |||
83 | /// </remarks> | 83 | /// </remarks> |
84 | private Cache m_reuseableDynamicTextures; | 84 | private Cache m_reuseableDynamicTextures; |
85 | 85 | ||
86 | /// <summary> | ||
87 | /// This constructor is only here because of the Unit Tests... | ||
88 | /// Don't use it. | ||
89 | /// </summary> | ||
90 | public DynamicTextureModule() | ||
91 | { | ||
92 | m_reuseableDynamicTextures = new Cache(CacheMedium.Memory, CacheStrategy.Conservative); | ||
93 | m_reuseableDynamicTextures.DefaultTTL = new TimeSpan(24, 0, 0); | ||
94 | } | ||
95 | |||
86 | #region IDynamicTextureManager Members | 96 | #region IDynamicTextureManager Members |
87 | 97 | ||
88 | public void RegisterRender(string handleType, IDynamicTextureRender render) | 98 | public void RegisterRender(string handleType, IDynamicTextureRender render) |