fix a test

This commit is contained in:
UbitUmarov
2020-10-24 18:18:24 +01:00
parent cdd5dba5b0
commit 7c822d3fbf
2 changed files with 5 additions and 3 deletions

View File

@@ -52,7 +52,9 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender.Tests
private void SetupScene(bool reuseTextures)
{
m_scene = new SceneHelpers().SetupScene();
TestsAssetCache cache = new TestsAssetCache();
m_scene = new SceneHelpers(cache).SetupScene();
m_dtm = new DynamicTextureModule();
m_dtm.ReuseTextures = reuseTextures;

View File

@@ -83,7 +83,7 @@ namespace OpenSim.Services.GridService
string assetService = gridConfig.GetString("AssetService", string.Empty);
Object[] args = new Object[] { config };
object[] args = new object[] { config };
if (assetService != string.Empty)
m_AssetService = ServerUtils.LoadPlugin<IAssetService>(assetService, args);
@@ -92,7 +92,7 @@ namespace OpenSim.Services.GridService
if (scope != string.Empty)
UUID.TryParse(scope, out m_ScopeID);
// m_Check4096 = gridConfig.GetBoolean("Check4096", true);
//m_Check4096 = gridConfig.GetBoolean("Check4096", true);
m_MapTileDirectory = gridConfig.GetString("MapTileDirectory", "maptiles");