From 5becc16acfa28eb1daf2b6ca0680d00e581b4d64 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 14 Sep 2015 16:40:01 +0100 Subject: try to improve vehicles crossing with Xengine. Lag seems main issue now, but needs testing, specially the fail cases, that most likelly need more work --- OpenSim/Region/Framework/Scenes/Scene.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 1b6d483..db64eb7 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -2177,7 +2177,7 @@ namespace OpenSim.Region.Framework.Scenes //// stored in the GridService, because that's what the world map module uses //// to send the map image UUIDs (of other regions) to the viewer... if (m_generateMaptiles) - RegenerateMaptile(); + RegenerateMaptile(); GridRegion region = new GridRegion(RegionInfo); string error = GridService.RegisterRegion(RegionInfo.ScopeID, region); @@ -2709,6 +2709,8 @@ namespace OpenSim.Region.Framework.Scenes { m_sceneGraph.updateScenePartGroup(part, grp); } + +/* not in use, outdate by async method /// /// Move the given scene object into a new region depending on which region its absolute position has moved /// into. @@ -2757,6 +2759,7 @@ namespace OpenSim.Region.Framework.Scenes if (EntityTransferModule != null) EntityTransferModule.Cross(grp, attemptedPosition, silent); } +*/ // Simple test to see if a position is in the current region. // This test is mostly used to see if a region crossing is necessary. -- cgit v1.1