aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-03-10From: Alan M Webb <alan_webb@us.ibm.com>Dr Scofield1-1/+1
Fix a null reference loophole in ScenePresence.
2009-03-09* Tweak llMoveToTarget per mantis 3265Teravus Ovares1-3/+97
* Add some comments to the Wind Module * Add the BinBVH decoder/encoder as a scene object (to encode/decode animations programmatically). * Add m_sitState for upcoming code to improve sit results.
2009-03-07* Fixes mantis: #3241Teravus Ovares1-2/+13
* Uses 'mouselook' or left mouse button down, to determine when to use the camera's UP axis to determine the direction of movement. * We crouch-slide no more.
2009-03-06* minor: remove some mono compiler warningsJustin Clarke Casey1-3/+4
2009-03-05* Replace Scene.GetLandHeight() with a straight query to Scene.Heightmap ↵Justin Clarke Casey1-1/+1
(which is used in other contexts)
2009-03-05* remove now unused serialization codeJustin Clarke Casey1-353/+2
2009-02-25A few updates necessary for load balancer.Mike Mazur1-9/+14
- handle GetUser request for nonexistent user gracefully - include throttle levels in ClientInfo - code to save/restore throttles in client stack - only update/send updates to active clients - make animation classes serializable
2009-02-24Close-to-final tweaking with appearance. This time sending *everything*. ↵diva1-21/+8
Addresses mantis #3223.
2009-02-23From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague1-0/+1
This patch fixes a bug where if a script in a child prim has taken control of an avatar when they sit, although permission for camera control is revoked when they stand, free camera control is not restored. Currently it is only restored if the script is in the root prim (though its not clear to me where this happens!).
2009-02-23Prevent avatar from walking along z-axisMike Mazur1-1/+19
Thanks mirceakitsune for a patch that prevents the avatar from trying to walk along the Z-axis in mouselook mode (or left-click the avatar and walk) while looking up or down. Fixes Mantis #946.
2009-02-23A little bit more tweaking with appearance. Now passing both the wearables ↵diva1-13/+37
and the textures referred to in the Texture faces of AvatarAppearance. The textures are still not being acted upon on the other side, but they will. Note: will make avies coming from older sims casper or grey. Upgrade! Related to mantis #3204.
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-18/+18
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
2009-02-22Addresses some issues with appearance after TPs. Appearance.Owner was not ↵diva1-4/+8
being set, and that's what's being used in SendAppearanceToOtherAgent. Mantis #3204.
2009-02-18Stops animations on Teleports, to conform with what the viewer does.diva1-0/+5
2009-02-18Fixes height on Basic Physics in local teleports. Plus some small refactoring.diva1-1/+16
2009-02-18Adds support for preserving animations on region crossings and TPs. diva1-16/+30
Known issue: after TP, the self client doesn't see the animations going, but others can see them. So there's a bug there (TPs only, crossings seem to be all fine). Untested: did not test animation overriders; only tested playing animations from the viewer.
2009-02-17Makes SP.CopyFrom a bit more robust with respect to sims in older versions ↵diva1-6/+4
which still don't have the new appearance management code.
2009-02-17Re-add the objectID field to the anim pack, that was deemed unneccessaryMelanie Thielker1-13/+16
and dropped nonths ago, because it is required to get smooth region crossings with AO running. Without it, in some corner cases, anims will continue to run in an unstoppable state.
2009-02-17Small change on dealing with ODE physics, so that this warning doesn't ↵diva1-1/+1
happen: "[PHYSICS]: trying to change capsule size, but the following ODE data is missing - Shell Body Amotor". That warning occurred in MakeRoot, because of the call to SetSize, immediately after making the avie physical.
2009-02-17Major change to how appearance is managed, including changes in login and ↵diva1-11/+64
user service/server. Appearance is now sent by the user service/server along with all other loginparams. Regions don't query the user service for appearance anymore. The appearance is passed along from region to region as the avie moves around. And, as before, it's stored back with the user service as the client changes the avie's appearance. Child agents have default appearances that are set to the actual appearance when the avie moves to that region. (as before, child agents are invisible and non-physical).
2009-02-15More guards around SetHeight.diva1-2/+3
2009-02-15Fix exception when standing up.idb1-1/+1
Fixes Mantis #3170
2009-02-15Guarding the new call to SetHeight in MakeRoot, so that ODE doesn't complain ↵diva1-1/+1
when it's 0.
2009-02-15Moving SendInitialData sort of back to where it was before, so that it ↵diva1-4/+5
doesn't interfere with the unit tests.
2009-02-15This started as way to correct Mantis #3158, which I believe should be fixed ↵diva1-25/+30
now. The flying status was temporarily being ignored, which caused the avie to drop sometimes -- there was a race condition. In the process it also fixes that annoying bug in basic physics where the avie would drop half-way to the ground upon region crossings (SetAppearance was missing). Additionally, a lot of child-agent-related code has been cleaned up; namely child agents are now consistently not added to physical scenes, and they also don't have appearances. All of that happens in MakeRoot, consistently.
2009-02-12Makes region crossings asynchronous. Moved the bulk of the original code out ↵diva1-129/+35
of ScenePresence and into SceneCommunicationService, where it should be (next to RequestTeleportToLocation). No changes in the crossing mechanism itself, yet. But this change opens the way to doing crossings as slowly as it needs to be, outside the simulator Update loop. Note: weirdnesses may occur!
2009-02-12* refactor: Move RequestInventoryForUser() from service to CachedUserInfoJustin Clarke Casey1-3/+10
* This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
2009-02-09Moved prim crossing out of OGS1 and into RESTComms and ↵diva1-1/+1
LocalInterregionComms. This breaks interregion comms with older versions in what concerns prim crossing. In the process of moving the comms, a few things seem to be working better, namely this may address mantis #3011, mantis #1698. Hopefully, this doesn't break anything else. But I'm still seeing weirdnesses with attchments jumping out of place after a cross/TP. The two most notable changes in the crossing process were: * Object gets passed in only one message, not two as done before. * Local object crossings do not get serialized, as done before.
2009-02-09a last set of files that seem to have embedded ^M in themSean Dague1-4/+4
2009-02-08* Removed the duplicate AddCapsHandler that existed in ↵diva1-4/+5
ScenePresence.MakeRootAgent; CAPs are already in place when this runs. * Moved MoveAgentIntoRegion further down in the CompleteMovement method. * changed a couple of methods from protected to public in SceneCommunicationService
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-8/+6
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!
2009-02-04Addresses a race condition that happened between the viewer and the ↵diva1-2/+1
departing region wrt the creation of the child agent in the receiving region, and that resulted in failed TPs.
2009-02-03* Fixes mantis #3070Teravus Ovares1-0/+8
2009-01-22* minox fix related to last commitSean Dague1-3/+4
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-22* Caught 2 dictionary exceptions that were unhandledSean Dague1-0/+5
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-21* refactor: Extract caps related code from scene and put into a region moduleJustin Clarke Casey1-7/+6
* No functional changes in this revision
2009-01-20* minor: A few comments. A bit of cleanup.Teravus Ovares1-4/+9
2009-01-16* Rig up enough infrastructure to actually perform a successful 'standalone' ↵Justin Clarke Casey1-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)
2009-01-16Minor formatting cleanup, add copyright header.Jeff Ames1-3/+3
2009-01-15* Add new unit test for simple teleport in a standalone.Justin Clarke Casey1-2/+0
* Does not yet check results.
2009-01-14* minor: Change around more debugging messagesJustin Clarke Casey1-3/+8
2009-01-13From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield1-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.
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