mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
varregion: many more updates removing the constant RegionSize and replacing
with a passed region size. This time in the map code and grid services code.
This commit is contained in:
@@ -1311,7 +1311,7 @@ private sealed class BulletConstraintXNA : BulletConstraint
|
||||
/* TODO */
|
||||
ConfigurationParameters[] configparms = new ConfigurationParameters[1];
|
||||
configparms[0] = parms;
|
||||
Vector3 worldExtent = new Vector3(Constants.RegionSize, Constants.RegionSize, Constants.RegionHeight);
|
||||
Vector3 worldExtent = maxPosition;
|
||||
m_maxCollisions = maxCollisions;
|
||||
m_maxUpdatesPerFrame = maxUpdates;
|
||||
specialCollisionObjects = new Dictionary<uint, GhostObject>();
|
||||
|
||||
@@ -208,6 +208,7 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters
|
||||
Name = EngineType + "/" + RegionName;
|
||||
}
|
||||
|
||||
// Old version of initialization that assumes legacy sized regions (256x256)
|
||||
public override void Initialise(IMesher meshmerizer, IConfigSource config)
|
||||
{
|
||||
m_log.ErrorFormat("{0} WARNING WARNING WARNING! BulletSim initialized without region extent specification. Terrain will be messed up.");
|
||||
|
||||
Reference in New Issue
Block a user