aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneGraph.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into careminster-presence-refactorMelanie2010-06-091-0/+37
|\
| * Refactor SendCoarseLocations for better performance. Instead of computing ↵Dan Lake2010-06-081-0/+37
| | | | | | | | 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.
* | Merge branch 'master' into careminster-presence-refactorMelanie2010-06-081-3/+7
|\ \ | |/
| * Reduce number of full updates sent on region crossing for attachments/huds ↵Justin Clark-Casey (justincc)2010-06-081-3/+7
| | | | | | | | | | | | | | | | | | to 1 from 3 This is one step towards reducing hud glitches on region crossing, since the viewer fails to display prims if it receives child full updates before the root prim full update This commit also introduces a mechanism in LLClientView to stop child attachment updates ever going out before the root one This is a very temporary mechanism and will be commented out when the next step of the fix (to give root prims higher udpate priority) is committed This code is a foreport from the equivalent changes in 0.6.9-post-fixes
| * Fix create selection getting overwritten by multiple updates for the same prim.Melanie Thielker2010-05-311-1/+1
| |
* | Fix create selection getting overwritten by multiple updates for the same prim.Melanie Thielker2010-05-311-1/+1
| |
* | Implement suspended updates - When an operation is occurring on lots of ↵Tom Grimshaw2010-05-291-11/+36
| | | | | | | | prims in a single group, don't schedule any updates until the operation has completed. This makes things like llSetAlpha(LINK_SET,0.0,ALL_SIDES); a *lot* faster, more efficient and less buggy, and also makes unlinking a lot better. Linking is still treacherous.. this needs to be analysed.
* | Merge branch 'master' into careminster-presence-refactorMelanie2010-05-211-45/+48
|\ \ | |/
| * rearrange SceneGraph.AddSceneObject() to return earlier if an object with ↵Justin Clark-Casey (justincc)2010-05-211-53/+49
| | | | | | | | | | | | that uuid is already in the scene this means that we don't perform pointless work
| * Fix a problem where SceneGraph.AddSceneObject() would return false on ↵Justin Clark-Casey (justincc)2010-05-211-7/+14
| | | | | | | | | | | | successfully adding an object rather than true, in defiance of its method documentation This meant that the returns were inconsistent - false would be returned both for various scene object failure conditions (e.g. root part was null) and if the object was successfully added.
| * Refactor scene presence list for lockless iteration. Lock contention will ↵Dan Lake2010-05-151-61/+53
| | | | | | | | now only be for simultaneous add/removes of scene presences from the scene.
| * Fix link security issueMelanie2010-04-301-32/+9
| |
* | Refactor scene presence list for lockless iteration. Lock contention will ↵Melanie2010-05-211-82/+49
| | | | | | | | now only be for simultaneous add/removes of scene presences from the scene.
* | Optimise the heavily used GetScenePresences; eliminate the array->list ↵Tom Grimshaw2010-05-121-8/+48
| | | | | | | | conversion on every call and transition from hard locks to ReaderWriter locks.
* | Merge branch 'careminster' into careminster-presence-refactorMelanie2010-04-301-32/+9
|\ \
| * \ Merge branch '0.6.9-post-fixes' into careminsterMelanie2010-04-301-32/+9
| |\ \
| | * | Fix link security issueMelanie2010-04-301-32/+9
| | | |
| * | | Merge branch '0.6.9-post-fixes' into careminsterMelanie2010-04-051-21/+41
| |\ \ \ | | |/ /
| | * | Fix bug where approximately half the time, attachments would rez only their ↵Justin Clark-Casey (justincc)2010-03-091-21/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | root prim until right clicked (or otherwise updated). The root cause of this problem was that multiple ObjectUpdates were being sent on attachment which differed enough to confuse the client. Sometimes these would eliminate each other and sometimes not, depending on whether the scheduler looked at the queued updates. The solution here is to only schedule the ObjectUpdate once the attachment code has done all it needs to do. Backport from head.
| * | | Merge branch '0.6.9-post-fixes' into careminsterMelanie2010-03-061-1/+10
| |\ \ \ | | |/ /
* | | | Merge branch 'master' into careminster-presence-refactorMelanie2010-04-191-3/+2
|\ \ \ \ | | |_|/ | |/| |
| * | | All scripts are now created suspended and are only unsuspended when the objectMelanie2010-04-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | is fully rezzed and all scripts in it are instantiated. This ensures that link messages will not be lost on rez/region crossing and makes heavily scripted objects reliable.
| * | | refactor: crudely move DetachSingleAttachmentToGround() over to the ↵Justin Clark-Casey (justincc)2010-04-161-3/+1
| | | | | | | | | | | | | | | | AttachmentsModule
* | | | Merge branch 'master' into careminster-presence-refactorMelanie2010-03-301-107/+79
|\ \ \ \ | |/ / /
| * | | Renamed TryGetAvatar to TryGetScenePresence on SceneManager, SceneBase, ↵Dan Lake2010-03-191-1/+1
| | | | | | | | | | | | | | | | Scene and SceneGraph. This was the only change in this patch to keep it isolated from other recent changes to the same set of files.
| * | | Cleaned up access to scenepresences in scenegraph. GetScenePresences and ↵Dan Lake2010-03-191-107/+79
| | | | | | | | | | | | | | | | 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>).
* | | | Merge branch 'master' into careminster-presence-refactorMelanie2010-03-181-63/+130
|\ \ \ \ | |/ / /
| * | | Inconsistent locking of ScenePresence array in SceneGraph. Fixed by ↵Dan Lake2010-03-171-63/+130
| | | | | | | | | | | | | | | | | | | | | | | | eliminating option to return the actual list. Callers can now either request a copy of the array as a new List or ask the SceneGraph to call a delegate function on every ScenePresence. Iteration and locking of the ScenePresences now takes place only within the SceneGraph class. This patch also applies a fix to Combat/CombatModule.cs which had unlocked iteration of the ScenePresences and inconsistent try/catch around the use of those ScenePresences.
* | | | Merge branch 'master' into careminster-presence-refactorMelanie2010-03-151-88/+0
|\ \ \ \ | |/ / /
| * | | refactor: move RezSingleAttachmentFromInventory() from SceneGraph to ↵Justin Clark-Casey (justincc)2010-03-121-53/+0
| | | | | | | | | | | | | | | | AttachmentsModule
| * | | refactor: move client invoked AttachObject from SceneGraph to AttachmentsModuleJustin Clark-Casey (justincc)2010-03-121-35/+0
| | | |
* | | | Merge branch 'master' into careminster-presence-refactorMelanie2010-03-061-128/+5
|\ \ \ \ | |/ / /
| * | | refactor: Move DetachSingleAttachmentToInv to region moduleJustin Clark-Casey (justincc)2010-03-061-34/+1
| | | | | | | | | | | | | | | | need to rationalize method names later
| * | | refactor: begin to move attachments code into a region moduleJustin Clark-Casey (justincc)2010-03-051-82/+4
| | | |
* | | | Merge branch 'master' into careminster-presence-refactorMelanie2010-03-041-10/+36
|\ \ \ \ | |/ / /
| * | | Fix bug where approximately half the time, attachments would rez only their ↵Justin Clark-Casey (justincc)2010-03-031-10/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | root prim until right clicked (or otherwise updated). The root cause of this problem was that multiple ObjectUpdates were being sent on attachment which differed enough to confuse the client. Sometimes these would eliminate each other and sometimes not, depending on whether the scheduler looked at the queued updates. The solution here is to only schedule the ObjectUpdate once the attachment code has done all it needs to do.
| * | | Actually make EventManager.OnAttach() fire when an object is attached. ↵Justin Clark-Casey (justincc)2010-03-031-0/+3
| | | | | | | | | | | | | | | | Previously, only detach was firing!
* | | | Merge branch 'master' into careminster-presence-refactorMelanie2010-03-031-17/+26
|\ \ \ \ | |/ / / | | / / | |/ / |/| | This brings careminster on the level of master. To be tested
| * | Merge branch 'master' into presence-refactorMelanie2010-02-221-1/+1
| |\ \ | | |/ | | | | | | This brings presence-refactor up to master again
| | * Formatting cleanup.Jeff Ames2010-02-151-1/+1
| | |
| * | Merge branch 'master' into presence-refactorMelanie2010-02-151-0/+9
| |\ \ | | |/
| | * Revolution is on the roll again! :)Revolution2010-02-141-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: Undo, T-pose of others on login, modifiedBulletX works again, feet now stand on the ground instead of in the ground, adds checks to CombatModule. Adds: Redo, Land Undo, checks to agentUpdate (so one can not fall off of a region), more vehicle parts. Finishes almost all of LSL (1 function left, 2 events). Direct flames and kudos to Revolution, please Signed-off-by: Melanie <melanie@t-data.com>
| * | Merge branch 'master' into presence-refactorMelanie2010-02-081-16/+40
| |\ \ | | |/ | | | | | | | | | This was a large, heavily conflicted merge and things MAY have got broken. Please check!
| | * Revert "change position of OnAttach event firing so that this also happens ↵Melanie2010-02-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | when a user teleports into a region" The behavior introduced here is not compatible with SL This reverts commit b6bee4999c9d238a052022f105069ea4eb85f8f4.
| | * change position of OnAttach event firing so that this also happens when a ↵Justin Clark-Casey (justincc)2010-02-031-2/+1
| | | | | | | | | | | | user teleports into a region
| * | * HGScene is no more.Diva Canto2010-01-301-17/+23
| | | | | | | | | | | | * Moved a few key inventory access methods from Scene.Inventory to an IInventoryAccessModule module
* | | Merge branch 'master' into careminsterMelanie2010-02-021-25/+55
|\ \ \ | | |/ | |/|
| * | Actually make EventManager.OnAttach() fire when an object is attached. ↵Justin Clark-Casey (justincc)2010-02-011-0/+3
| | | | | | | | | | | | Previously, only detach was firing!
| * | Don't try to start attachment scripts or send updates if the attachment ↵Justin Clark-Casey (justincc)2010-02-011-25/+52
| |/ | | | | | | itself has been unsuccessful
| * Experimental: Remove explicit property sendsMelanie2009-12-061-11/+11
| |