aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-01-06* prune and regrade log messages relating to client login and logoutJustin Clarke Casey1-15/+3
2009-01-03Split agent updates into two messages: full update and position+camera ↵diva1-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.
2009-01-02* Adding some recognizable and search-able test to some ↵Teravus Ovares1-3/+3
WriteLine(e.ToString()) messages so that when they occur, we can figure out what threw them.
2009-01-01Major changes in interregion communications. This breaks compatibility with ↵diva1-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.
2008-12-31Added a SendChildAgentDataUpdate call on Teleports, so that the agent at the ↵diva1-4/+55
destination will have all the necessary information.
2008-12-29Final part for implementing SendChildAgentDataUpdate with modules. This is ↵diva1-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.
2008-12-17* remove mono compiler warningsJustin Clarke Casey1-2/+2
* should work - the last compile failure looks like a random glitch...
2008-12-16Fix script controls for weaponsMelanie Thielker1-10/+23
2008-12-15Bug fix in new child agents management. Thanks DigiDaz for helping identify ↵diva1-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.
2008-12-14Mantis#2725. Thank you kindly, Diva, for a patch that:Charles Krinke1-28/+101
Adds missing protocol pieces for EstablishAgentCommunication event which allows the client to activate CAPS and the EQ for child agents.
2008-12-10Applying diva's revert patch. Reverts closing child agents and makesMelanie Thielker1-3/+0
TP more reliable again.
2008-12-08* Fixes control issue at the root of the boat turning problem.Teravus Ovares1-0/+18
2008-12-05Yay for languages without default parameter valuesMelanie Thielker1-1/+1
2008-12-05Stop trying to save attachment states on logout. That caused a predicatbleMelanie Thielker1-10/+7
loss of no copy attachments, as the client context/thread was terminating before the save could complete.
2008-11-30Mantis #2584 (again)Melanie Thielker1-1/+42
Next step of diva's TP fixes and HG support
2008-11-29Finally make attachments stay put. Randomize local ID generation toMelanie Thielker1-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.
2008-11-29Try to prevent attachments twisting/movingMelanie Thielker1-1/+1
2008-11-28* minor: remove mono compiler warningJustin Clarke Casey1-1/+1
2008-11-27* Remove unused and largely unimplemented UpdateUserCurrentRegion()Justin Clarke Casey1-1/+0
* please say if this causes you a problem
2008-11-27* minor: remove the ability to change the client in ScenePresence to reduce ↵Justin Clarke Casey1-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
2008-11-27Thank you kindly, Nlin for a patch that:Charles Krinke1-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.
2008-11-26* minor: Remove unused SetAnimation method that was identical to TrySetAnimationJustin Clarke Casey1-13/+1
2008-11-26* Eliminate forceAvatarMovement() in favour of existing AddNewMovement()Justin Clarke Casey1-7/+4
2008-11-26* Get rid of the phenomena where the avatar sometimes reverts to the stand ↵Justin Clarke Casey1-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
2008-11-26* Adding ScenePresence.ClientView property to return IClientCore interface ↵Adam Frisby1-0/+6
to a client.
2008-11-24* Swaps Scene.Entities Dictionary for EntityManager.Adam Frisby1-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.
2008-11-21Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker1-1/+1
the internals of the permissions module adapter sane
2008-11-21* refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey1-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
2008-11-20* Add enough infrastructure code to run an extremely basic and flaky add ↵Justin Clarke Casey1-0/+2
root agent scene test
2008-11-19Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the newMelanie Thielker1-3/+3
libOMV.
2008-11-19Reverting the texture sending patch and the new libOMV. This makes thisMelanie Thielker1-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
2008-11-18* Added and removed debug information relating to client connectionsAdam Frisby1-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.
2008-11-17* Update libOMV to r2359. This is necessary for the progressive texture patchJustin Clarke Casey1-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
2008-11-17* Stop nulling SOG.m_rootPart and parts on object deletionJustin Clarke Casey1-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
2008-11-14Lots of experimentation yielded a fair approximation of a hip offset from theMelanie Thielker1-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
2008-11-12* refactor: as per a recent opensim-dev thread, rename InnerScene to ↵Justin Clarke Casey1-1/+1
SceneGraph to make it more descriptive of its intended function
2008-11-10Restore the independent LocalID numbering for avatars. Fixes an issue whereMelanie Thielker1-1/+4
it becomes impossible to cross back into a region you came from, or freeze several seconds after region crossings.
2008-11-10* Take out the 1 second sleep debugging line in ScenePresenceJustin Clarke Casey1-1/+0
2008-11-10Stop attachments from causing an update to be sent on every frame in whichMelanie Thielker1-2/+4
an avatar moves.
2008-11-08Small bugfix for RemoveNeighbourRegionHomer Horwitz1-1/+1
2008-11-07* Correct catch changed on last commit, since I just realized I started ↵Justin Clarke Casey1-1/+1
making it catch a little too much, in principle
2008-11-07* minor: Remove mono compiler warningJustin Clarke Casey1-1/+1
2008-11-07* Fix bug in r7162 where avatars could not moveJustin Clarke Casey1-0/+1
* Was caused by the lack of a local id. Local ids are now given from the same sequence as prims, rather than a separate one * I don't believe this will cause any problems, but please revert to a separate sequence if it does
2008-11-07* Remove next local id from SceneBaseJustin Clarke Casey1-4/+0
* This was only reference by ScenePresence and not used anyway - Scene itself had it's own copy
2008-11-07* minor: Just some tidy up of log messages, etc.Justin Clarke Casey1-13/+5
2008-11-07* Stop requiring local ids in the SOG constructors.Justin Clarke Casey1-2/+1
* These are assigned when the object is attached to the scene
2008-11-07Fixing up some remaining attachment issuesMelanie Thielker1-6/+4
2008-11-07Attachments, attachments, and, did I say attachments?Melanie Thielker1-35/+64
Too many fixes to list.
2008-11-06* refactor: Attach a scene object to a scene separately from its constructionJustin Clarke Casey1-11/+13
2008-11-06Mantis#2423. Thank you kindly, Godfrey for a patch that:Charles Krinke1-2/+2
Included patch fixes error: Z and W terms in the quaternion were swapped (ZERO_ROTATION is <0,0,0,1>, it was checking for <0,0,1,0>). There is an issue with older prims: it seems their default sit target was not always set to ZERO_ROTATION;