* Refactored IConfigSource into Physics plug-ins and Scene. We can get rid of some of the parameters we pass to it's constructor now like, 'm_allowPhysicalPrim', 'seeIntoOtherRegions', etc.. so on

* The main purpose of this is to provide configuration options for ODE and other physics plug-ins that are advanced enough to be able to be configured.
This commit is contained in:
Teravus Ovares
2008-05-14 23:15:25 +00:00
parent e246d6e515
commit 2a988f187e
14 changed files with 49 additions and 19 deletions

View File

@@ -31,6 +31,7 @@ using OpenSim.Framework.Communications.Cache;
using OpenSim.Framework.Servers;
using OpenSim.Region.Environment;
using OpenSim.Region.Environment.Scenes;
using Nini.Config;
namespace OpenSim.Grid.ScriptServer
{
@@ -39,11 +40,12 @@ namespace OpenSim.Grid.ScriptServer
public FakeScene(RegionInfo regInfo, AgentCircuitManager authen,
CommunicationsManager commsMan, SceneCommunicationService sceneGridService,
AssetCache assetCach, StorageManager storeManager, BaseHttpServer httpServer,
ModuleLoader moduleLoader, bool dumpAssetsToFile, bool physicalPrim, bool sendTasksToChild)
ModuleLoader moduleLoader, bool dumpAssetsToFile, bool physicalPrim, bool sendTasksToChild, IConfigSource config)
: base(
regInfo, authen, commsMan, sceneGridService, assetCach, storeManager, httpServer,
moduleLoader, dumpAssetsToFile, physicalPrim, sendTasksToChild)
moduleLoader, dumpAssetsToFile, physicalPrim, sendTasksToChild, config)
{
}
// What does a scene have to do? :P