mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Allow the "debug scene set physics false|true" command to work when bulletsim physics is running in a separate thread.
This will also allow the "disable physics" setting in the region debug viewer dialog to work in this circumstance.
This commit is contained in:
@@ -159,7 +159,7 @@ namespace OpenSim.Region.CoreModules.Framework.Library
|
||||
}
|
||||
|
||||
RegionInfo regInfo = new RegionInfo();
|
||||
Scene m_MockScene = new Scene(regInfo);
|
||||
Scene m_MockScene = new Scene(regInfo, null);
|
||||
LocalInventoryService invService = new LocalInventoryService(lib);
|
||||
m_MockScene.RegisterModuleInterface<IInventoryService>(invService);
|
||||
m_MockScene.RegisterModuleInterface<IAssetService>(m_Scene.AssetService);
|
||||
|
||||
Reference in New Issue
Block a user