aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/RegionCombinerModule/RegionCombinerModule.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-12-13Revamp the viewer -> banlist packet processing so fix a number of bugs.Melanie1-1/+1
Remove the too coarse CanEditParcel method in favor of a CanEditParcelProperties method that takes a GroupPowers argument to specify what action is to be taken. Also, make the method to set parcel data much more granular. Permissions in a deeded setting should now work.
2010-06-08Refactor SendCoarseLocations for better performance. Instead of computing ↵Dan Lake1-1/+3
list of all locations fresh for every scene presence on every frame, we will instead compute the list once every 50 frames and send to all connected presences at that time. Also, we only add 60 items to the list when there are more than 60 presences in the scene. For 1000 users, this change yields a 99.8% reduction in list processing and a 98% reduction in network bandwidth for coarse locations.
2010-03-19Cleaned up access to scenepresences in scenegraph. GetScenePresences and ↵Dan Lake1-12/+13
GetAvatars have been removed to consolidate locking and iteration within SceneGraph. All callers which used these to then iterate over presences have been refactored to instead pass their delegates to Scene.ForEachScenePresence(Action<ScenePresence>).
2010-03-18Unify a previous refactor of object return with the older solution. WeMelanie1-2/+1
really don't need two methods doing the same thing, but differently.
2009-12-29* Attempts to resolve the megaregion terrain edit rebound.Teravus Ovares (Dan Olivares)1-0/+82
* It does this by tweaking the throttles on child agent connection to a megaregion and multiplying the land throttle by 50. (various bit and byte magic ensue) * While, I doubt this will cause terrain crater sized potholes.. since it actually increases the bandwidth available for land in child regions when MegaRegions area active, more testing would be good. * This, in theory, also shouldn't cause missing objects in child regions.. because all objects are in the root region anyway. As I said, more testing would be good.
2009-11-23Formatting cleanup.Jeff Ames1-2/+2
2009-11-11* Thanks to a little help from jhurliman, jradford, diva, mono's brajkovic, ↵Teravus Ovares (Dan Olivares)1-0/+5
miguel, and the fabulous bug reports by our community members.. The workaround fix for the "ERROR:metadata.c:3211:mono_metadata_token_from_dor: code should not be reached" bug in the RegionCombinerModule.
2009-11-10* Update namespace in the regioncombinermodule.Teravus Ovares (Dan Olivares)1-1/+1
2009-11-10* Move RegionCombinerModule to it's own projectTeravus Ovares (Dan Olivares)1-0/+1
* Moves the mono_metadata_token_from_dor message to a different module on loading.
2009-11-10Broke the monster RegionLoaded method in RegionCombinerModule into 4 smaller ↵Diva Canto1-224/+248
methods. Let's see if this avoids a mono bug that is making megaregions not work in mono. Long shot, but worth a try.
2009-10-16More debugging of RegionCombinerModule.RegionLoaded() by making ↵John Hurliman1-2/+6
RegionLoaded() a two line function
2009-10-13* Fixes some prim crossings on megaregions with regions beyond the 512m markTeravus Ovares (Dan Olivares)1-4/+6
* There's a slight chance that this could cause a problem with regular prim crossings.. but hopefully not. Revert if it does.
2009-10-01Formatting cleanup.Jeff Ames1-1/+1
2009-10-01Formatting cleanup.Jeff Ames1-5/+5
2009-09-29A little hack to see if this fixes the problems with ~20% of SOG's becoming ↵Diva Canto1-1/+20
phantom after an import to megaregions.
2009-09-25* Does a full battery of tests to ensure that the object isn't an attachment ↵Teravus Ovares (Dan Olivares)1-3/+3
before border crossing * Fixes 'Inconsistent Attachment State' when teleporting into another region besides the SW most region slot on a MegaRegion. * Fixes a host of other unintended attachment border cross edge cases that lead to Inconsistent attachment state.
2009-09-13* Add the RegionCombinerModule backTeravus Ovares (Dan Olivares)1-0/+914
* Yay anonymous delegate in an anonymous delegate.
2009-09-13Temporarily removing the RegionCombinerModule to debug a mono assert on linuxTeravus Ovares (Dan Olivares)1-914/+0
2009-09-13* Move nested classes from the RegionCombinerModule into their own file.Teravus Ovares (Dan Olivares)1-563/+0
* Rename the RegionCombinerModuleIndividualForwarder to RegionCombinerIndividualEventForwarder so there's no possibility that mono.addins sees any names similar
2009-09-13* More comments in the RegionCombinerModuleTeravus Ovares (Dan Olivares)1-14/+116
* Changed the Destination ID to 0 in the TeleportFinish Event (why did we have it as 3?) * Added border based trigger teleports * Fix MakeRootAgent border cross tests for ensuring that the position is inside the region to use the borders to figure out if it's outside the Region
2009-09-10Formatting cleanup.Jeff Ames1-59/+24
2009-09-08minor: remove warningJustin Clark-Casey (justincc)1-2/+1
2009-09-05* Moves ScenePresence SendCourseLocations to a delegate and provide a method ↵Teravus Ovares (Dan Olivares)1-6/+165
to replace the delegate * RegionCombinerModule replaces this delegate and distributes the CoarseLocationUpdates through the client connection in the region where the user would be if it was a separate region. * Fixes Mini Map display on combined regions.
2009-09-04* Fixes various quirks rezzing in virtual regions.Teravus Ovares (Dan Olivares)1-55/+193
* Breaks up the Client event registrations in Scene into methods of similar event types. The generic event registration registers all of the event types. *Created symmetrical Un-Registration methods. * Made the Registration and Unregistration methods public * Hooks The events required for creating new prim and rezzing new prim into the proper scene.
2009-09-04* Last commit was a bit of a fail, it registered the root region for it's ↵Teravus Ovares (Dan Olivares)1-49/+49
own permissions events again. * This commit fixes that and does what the last one intended.
2009-09-04* Make the RegionCombinerModule also register to handle permissions for the ↵Teravus Ovares (Dan Olivares)1-3/+303
virtual region scenes.
2009-09-03Add copyright headers. Formatting cleanup.Jeff Ames1-12/+39
2009-09-02warnings safari.dr scofield (aka dirk husemann)1-2/+2
2009-09-02* One last attempt to get the bordercrossing/primcrossing/attachmentcrossing ↵Teravus Ovares (Dan Olivares)1-0/+23
right in the new border framework. * This also contains some inactive preliminary code for disconnecting combined regions that will be used to make one root region a virtual region of a new root region.
2009-09-01* Fixes diagonal teleporting when in RegionCombining mode by adding 4 ↵Teravus Ovares (Dan Olivares)1-11/+50
additional borders that have infinite distances perpendicular to the cardinal of the border surrounding the entire combined region. Recalculates this boundary each time AddScene is called.
2009-08-31* Get rid of some debug info and kill the code to make a large AABB until I ↵Teravus Ovares (Dan Olivares)1-13/+24
can figure out how to detect the fact that the system is done starting up new regions.
2009-08-31* When the RegionCombinerModule is active add an extra set of borders with ↵Teravus Ovares (Dan Olivares)1-1/+56
Infinite distances around the whole AABB of the region
2009-08-31Remove typo version of ReplaceableInterface property from RegionCombinerModule.Jeff Ames1-2/+0
2009-08-30* When the RegionCombinerModule is off, make borders have an infinite aabb ↵Teravus Ovares (Dan Olivares)1-1/+21
perpendicular to the cardinal
2009-08-29Ok, merging the RegionCombinerModule with master.Teravus Ovares (Dan Olivares)1-4/+5
2009-08-29* Rename the RegionCombiner Module from PhysicsCombinerTeravus Ovares (Dan Olivares)1-4/+5
2009-08-29* Fixes looking up parcel permissions in virtual regions.Teravus Ovares (Dan Olivares)1-3/+183
2009-08-29* Only lock the Borders when they're being changed, otherwise one avatar's ↵Teravus Ovares (Dan Olivares)1-19/+54
movement could hinder another avatar's movement.
2009-08-28* Allow corner prim crossings. Previously this was only on a single ↵Teravus Ovares (Dan Olivares)1-11/+56
cardinal direction * Some leg work in getting avatar teleports into 'virtual regions' moved to the proper region.
2009-08-21* It turns out that Physics heightmap values were being stored in managed ↵Teravus Ovares (Dan Olivares)1-43/+67
memory in _heightmap and using multiple heightmaps caused them all to overwrite each other and the last one was the heightmap for all of the regions. This fixes that. It also reduces the terrain resolution to half.
2009-08-20* Adds PhysicsCombiner ModuleTeravus Ovares (Dan Olivares)1-0/+355
* May rename this later