aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-061-3651/+0
| | | | | | | | | | | | | | | | | | | | OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
* Addresses a race condition that happened between the viewer and the ↵diva2009-02-041-2/+1
| | | | departing region wrt the creation of the child agent in the receiving region, and that resulted in failed TPs.
* * Fixes mantis #3070Teravus Ovares2009-02-031-0/+8
|
* * minox fix related to last commitSean Dague2009-01-221-3/+4
| | | | | From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* * Caught 2 dictionary exceptions that were unhandledSean Dague2009-01-221-0/+5
| | | | | From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* * refactor: Extract caps related code from scene and put into a region moduleJustin Clarke Casey2009-01-211-7/+6
| | | | | | * No functional changes in this revision
* * minor: A few comments. A bit of cleanup.Teravus Ovares2009-01-201-4/+9
|
* * Rig up enough infrastructure to actually perform a successful 'standalone' ↵Justin Clarke Casey2009-01-161-3/+3
| | | | | | | | | teleport unit test with checks that the scene presence disappeared from sceneA and appeared in sceneB * However, I'm not convinced that the actual process in the test completely reflects reality, and a lot of stuff had to be rigged up (which should get resolved over time)
* Minor formatting cleanup, add copyright header.Jeff Ames2009-01-161-3/+3
|
* * Add new unit test for simple teleport in a standalone.Justin Clarke Casey2009-01-151-2/+0
| | | | | | * Does not yet check results.
* * minor: Change around more debugging messagesJustin Clarke Casey2009-01-141-3/+8
|
* From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-01-131-0/+3
| | | | | | | | | | | | | | | The attached patch adds the automatic granting of PERMISSION_CONTROL_CAMERA on request to a script when an avatar is sitting on the object that the script resides in. It also automatically removes PERMISSION_TAKE_CONTROLS and PERMISSION_CONTROL_CAMERA from the scripts when an avatar stands up. It doesn't remove the other automatically granted permissions but this follows LL server behavior. Removing these two permissions avoids some potential race conditions (accidentally taking control after the avatar has stood up) which may be why LL put them in the first place.
* * prune and regrade log messages relating to client login and logoutJustin Clarke Casey2009-01-061-15/+3
|
* Split agent updates into two messages: full update and position+camera ↵diva2009-01-031-29/+78
| | | | update. They're both sent over HTTP PUT. The full update is sent on TPs, for now; later it will also be sent on region crossings.
* * Adding some recognizable and search-able test to some ↵Teravus Ovares2009-01-021-3/+3
| | | | WriteLine(e.ToString()) messages so that when they occur, we can figure out what threw them.
* Major changes in interregion communications. This breaks compatibility with ↵diva2009-01-011-1/+15
| | | | | | | | | older versions, and may result is all sorts of weirdnesses when interacting with sims in older versions. Changes: - Introducing synchronous Teleports. Now the receiving region calls back the sending region after the client has been made a root agent there, that is, after client sends CompleteMovement to the destination. - SendCloseAgent moved from OGS1 Remoting to RESTComms.
* Added a SendChildAgentDataUpdate call on Teleports, so that the agent at the ↵diva2008-12-311-4/+55
| | | | destination will have all the necessary information.
* Final part for implementing SendChildAgentDataUpdate with modules. This is ↵diva2008-12-291-9/+13
| | | | the part that uses the modules in Scene and related classes. This commit breaks compatibility of sim-sim SendChildAgentUpdates with older versions of OpenSim.
* * remove mono compiler warningsJustin Clarke Casey2008-12-171-2/+2
| | | | | | * should work - the last compile failure looks like a random glitch...
* Fix script controls for weaponsMelanie Thielker2008-12-161-10/+23
|
* Bug fix in new child agents management. Thanks DigiDaz for helping identify ↵diva2008-12-151-17/+43
| | | | | | | | | | | this issue. We need to update all child agents whenever the root agent crosses regions. The update now includes child agents in common neighbours. This is so that those get updated with the seeds of the new child agents that are spawned from the receiving region. This also fixes some timing issues. We need to close child agents from the originating region before we update child agents in the receiving region.
* Mantis#2725. Thank you kindly, Diva, for a patch that:Charles Krinke2008-12-141-28/+101
| | | | | | | Adds missing protocol pieces for EstablishAgentCommunication event which allows the client to activate CAPS and the EQ for child agents.
* Applying diva's revert patch. Reverts closing child agents and makesMelanie Thielker2008-12-101-3/+0
| | | | | | TP more reliable again.
* * Fixes control issue at the root of the boat turning problem.Teravus Ovares2008-12-081-0/+18
|
* Yay for languages without default parameter valuesMelanie Thielker2008-12-051-1/+1
|
* Stop trying to save attachment states on logout. That caused a predicatbleMelanie Thielker2008-12-051-10/+7
| | | | | | | loss of no copy attachments, as the client context/thread was terminating before the save could complete.
* Mantis #2584 (again)Melanie Thielker2008-11-301-1/+42
| | | | | | Next step of diva's TP fixes and HG support
* Finally make attachments stay put. Randomize local ID generation toMelanie Thielker2008-11-291-1/+1
| | | | | | | | | prevent adjacent sims from using identical Local IDs for the attachment Thanks to Mana Janus (Hippo Viewer) for providing the crucial bit of information, namely that, due to a bug in the viewer, adjacent sims can't use the same local ids.
* Try to prevent attachments twisting/movingMelanie Thielker2008-11-291-1/+1
|
* * minor: remove mono compiler warningJustin Clarke Casey2008-11-281-1/+1
|
* * Remove unused and largely unimplemented UpdateUserCurrentRegion()Justin Clarke Casey2008-11-271-1/+0
| | | | | | * please say if this causes you a problem
* * minor: remove the ability to change the client in ScenePresence to reduce ↵Justin Clarke Casey2008-11-271-1/+3
| | | | | | | | the scope of possible bugs - currently unused in the core code * if this is being used then please say and we can see if there is a better accomodation of this
* Thank you kindly, Nlin for a patch that:Charles Krinke2008-11-271-0/+132
| | | | | | | | | | | | | | Adds a new method to IClientAPI to allow adding message handlers for GenericMessages (of which "autopilot" is one). Part 2 adds a specific autopilot handler in ScenePresence.cs. 2) Removing unused variables and functions. 3) Simplifying the navigation logic in ScenePresence.cs. The original patch was somewhat complex because it included orientation logic for a future enhancement of orienting the avatar to point towards the direction being walked. Currently this isn't working, though, so I removed the orientation code, which leaves just the smaller and hopefully simpler-to-understand movement code.
* * minor: Remove unused SetAnimation method that was identical to TrySetAnimationJustin Clarke Casey2008-11-261-13/+1
|
* * Eliminate forceAvatarMovement() in favour of existing AddNewMovement()Justin Clarke Casey2008-11-261-7/+4
|
* * Get rid of the phenomena where the avatar sometimes reverts to the stand ↵Justin Clarke Casey2008-11-261-6/+30
| | | | | | | | | animation when flying across borders * Applies to both standalone and grid mode * The slight retardation on border cross remains - this is a separate issue
* * Adding ScenePresence.ClientView property to return IClientCore interface ↵Adam Frisby2008-11-261-0/+6
| | | | to a client.
* * Swaps Scene.Entities Dictionary for EntityManager.Adam Frisby2008-11-241-1/+1
| | | | | | * Important Changes: Scene.Entities is now IEnumerable directly. You do not need to use Entities.Values, you can Enumerate on .Entities directly. (So 'foreach Scene.Entities' vs 'foreach Scene.Entities.Values'). * Locks: Entities maintains it's own internal locking states. This means you do not need to lock entities anymore. I'll be going through and removing locks on it systematically.
* Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker2008-11-211-1/+1
| | | | | | the internals of the permissions module adapter sane
* * refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey2008-11-211-1/+1
| | | | | | | | * SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
* * Add enough infrastructure code to run an extremely basic and flaky add ↵Justin Clarke Casey2008-11-201-0/+2
| | | | root agent scene test
* Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the newMelanie Thielker2008-11-191-3/+3
| | | | | | libOMV.
* Reverting the texture sending patch and the new libOMV. This makes thisMelanie Thielker2008-11-191-3/+3
| | | | | | | | | release a direct descendant of the stable 7364, with all the features and none of the issues. This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373 r7372 r7370 r7369 r7368 r7367 r7366
* * Added and removed debug information relating to client connectionsAdam Frisby2008-11-181-2/+3
| | | | | | * Minor client fixes * Added the ability for a client to login without a UserProfile, allowing certain alternate clients to connect to the region.
* * Update libOMV to r2359. This is necessary for the progressive texture patchJustin Clarke Casey2008-11-171-3/+3
| | | | | | | | * Update libopenjpeg as well for this patch. * Appears to be okay on a very short sniff test * Source code will be placed in opensim-libs shortly
* * Stop nulling SOG.m_rootPart and parts on object deletionJustin Clarke Casey2008-11-171-5/+5
| | | | | | | | | | * This renders RootPart == null checks useless - the replacement is to check SOG.IsDeleted. However, in many cases this will not be necessary since updates to deleted parts will not be sent to the client * This should remove any remaining race conditions where an object is deleted while another thread is yet to obtain the root part to perform some operation * Doing this is probably a necessary prerequisite to moving to a model without a separate SOG and SOP * Unfortunately it's not possible to eliminate all RootPart == null checks since in some contexts it is currently used to check whether an object was created successfully
* Lots of experimentation yielded a fair approximation of a hip offset from theMelanie Thielker2008-11-141-1/+8
| | | | | | | | physical center of an avatar, for display purposes. This should keep the avatar feet above ground visually in most cases. Tweaked for both height extremes and various leg lengths. Improvements welcome
* * refactor: as per a recent opensim-dev thread, rename InnerScene to ↵Justin Clarke Casey2008-11-121-1/+1
| | | | SceneGraph to make it more descriptive of its intended function
* Restore the independent LocalID numbering for avatars. Fixes an issue whereMelanie Thielker2008-11-101-1/+4
| | | | | | | it becomes impossible to cross back into a region you came from, or freeze several seconds after region crossings.
* * Take out the 1 second sleep debugging line in ScenePresenceJustin Clarke Casey2008-11-101-1/+0
|