aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/RegionCombinerModule (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-09Factor out common default animations code into SLUtil. LLClientView now ↵Justin Clark-Casey (justincc)1-1/+1
makes use of the SLUtil copy via a method rather than each LLClientView loading a separate copy. As per opensim-users mailing list discussion.
2012-03-09Simplify minimap coarse location code by just reference SP.AbsolutePositionJustin Clark-Casey (justincc)1-7/+2
This is rather than checking whether the avatar is sitting and doing its own calculation.
2012-03-09Use SP.ParentPart instead of ParentID in places where it's more efficient ↵Justin Clark-Casey (justincc)1-19/+7
(saving extra null checks, etc.) However, it looks like we should retain SP.ParentID since it's much easier to use that in places where another thread could change ParentPart to null. Otherwise one has to clumsily put ParentPart in a reference, etc. to avoid a race.
2011-12-15minor fix to MegaRegions, typo spotted by Ubit!nebadon1-1/+1
2011-12-09Fix "fix-phantoms" help message. Thanks Garmin Kawaguichi.Justin Clark-Casey (justincc)1-4/+5
2011-11-22Comment out unimplemented and uncalled RegionCombinerModule.UnCombineRegion()Justin Clark-Casey (justincc)1-27/+27
2011-11-03Rename ForEachAvatar back to ForEachScenePresence. The other changesDan Lake1-1/+1
from previous commit which sort out which iterator is used are left intact. A discussion is needed as to what constitutes an avatar vs a ScenePresence.
2011-11-03Renamed ForEachRootScenePresence to ForEachAvatar. Cleaned up calls toDan Lake1-1/+1
the 3 iteration functions so more of them are using the correct iteration for the action they are performing. The 3 iterators that seem to fit all actions within OpenSim at this time are: ForEachAvatar: Perform an action on all avatars (root presences) ForEachClient: Perform an action on all clients (root or child clients) ForEachRootClient: Perform an action on all clients that have an avatar There are still a dozen places or so calling the old ForEachScenePresence that will take a little more refactoring to eliminate.
2011-10-27Added new ForEachRootScenePresence to Scene since almost every delegate ↵Dan Lake1-3/+1
passed to ForEachScenePresence checks for !IsChildAgent first. It consolidates child and root handling for coming refactors.
2011-04-05remove now unused individual LandData prim counts.Justin Clark-Casey (justincc)1-5/+0
However, the calls to the land management module to record prims need to remain, since they were also being used to return owner object lists, etc. This is probably why prim counts were being done there in the first place.
2011-01-27When an oar is loaded, do not create a default parcel before loading the ↵Justin Clark-Casey (justincc)1-2/+2
parcels from the OAR. The region spanning parcel shouldn't exist in this situation. If it does, when the land data is loaded it is repersisted with a local ID which comes after the ones loaded via the oar, which obliterates the oar loaded one. Resaving the data we just loaded from the database is somewhat odd in itself (though this makes sense from the way that OAR loading was already using the same event).
2011-01-27Fix OAR parcel loading so that old parcels are replaced by the new instead ↵Justin Clark-Casey (justincc)1-0/+5
of merged. The --merge switch will still merge the old and new land parcelling.
2010-12-13Revamp the viewer -> banlist packet processing so fix a number of bugs.Melanie2-3/+3
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-12-13Revamp the viewer -> banlist packet processing so fix a number of bugs.Melanie2-3/+3
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-09-12Formatting cleanup.Jeff Ames2-5/+5
2010-07-30remove gods event subscription to gods module from sceneJustin Clark-Casey (justincc)1-4/+15
2010-07-30move attachment subscription events into AttachmentsModule from scene.Justin Clark-Casey (justincc)1-3/+4
restored to some heavy casting in order to preserve RegionCombinerModule semantics, pending better events.
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-05-13Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master1-0/+10
joins parcels in an area, osParcelSubdivide splits parcels in an area, osParcelSetDetails sets parcel name, description, owner and group owner. Join and Subdivide methods in LandChannel are exposed.
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. WeMelanie2-10/+4
really don't need two methods doing the same thing, but differently.
2010-03-18Unify a previous refactor of object return with the older solution. WeMelanie2-10/+4
really don't need two methods doing the same thing, but differently.
2010-03-18Unify a previous refactor of object return with the older solution. WeMelanie2-10/+4
really don't need two methods doing the same thing, but differently.
2009-12-30Revert "Merge branch 'master' into careminster"Melanie1-82/+0
This reverts commit 596af3f600462fb1e467714e5b898c10aa3d838b.
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-25minor: add doc to a few parcel methodsJustin Clark-Casey (justincc)1-0/+1
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)2-13/+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-11* Fix resources file mappingTeravus Ovares (Dan Olivares)1-2/+2
2009-11-10* Update namespace in the regioncombinermodule.Teravus Ovares (Dan Olivares)8-8/+9
2009-11-10* Move RegionCombinerModule to it's own projectTeravus Ovares (Dan Olivares)9-0/+1781
* Moves the mono_metadata_token_from_dor message to a different module on loading.