aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Thank you M1sha for diagnosing and patching a lock bug affecting region ↵diva2009-04-171-13/+16
| | | | crossings introduced in r9110. Fixes mantis #3456.
* Prevent a nullref when no script engines are loadedMelanie Thielker2009-04-151-0/+3
|
* * Commit a variety of fixes to bugs discovered while trying to fix the NaN ↵Teravus Ovares2009-04-141-22/+30
| | | | | | | | | singularity. * WebStatsModule doesn't crash on restart. GodsModule doesn't crash when there is no Dialog Module. LLUDPServer doesn't crash when the Operation was Aborted. * ODEPlugin does 'Almost NaN' sanity checks. * ODEPlugin sacrifices NaN avatars to the NaN black hole to appease it and keep it from sucking the rest of the world in.
* Fix a regression where animations would only be sent if the avatar hasMelanie Thielker2009-04-121-1/+1
| | | | | | | attachments. Convert base types to LSL types for event marshalling through IScriptModule to avoid parameter errors.
* Adding a script event, changed(CHANGED_ANIMATION)Melanie Thielker2009-04-111-1/+22
| | | | | | | | This is sent to all root prims of all attachments of an avatar when the animation state changes. llGetAnimation() can thenbe used to find the new movement animation. This eliminates the need for fast timers in AOs
* Added some null-checks to Intimidated's patch in r9024.Homer Horwitz2009-04-061-5/+5
| | | | | Hopefully fixes Mantis #3415.
* Applying Intimidated's patch to fix anim handling.Melanie Thielker2009-04-061-6/+24
| | | | | | Fixes Mantis #3417
* Thank you, Intimidated, for a patch too fix the movement animation handlingMelanie Thielker2009-04-061-43/+183
| | | | | | Fixes Mantis #3413
* * Fixes issue where of you force your avatar against a region corner, it ↵Arthur Valadares2009-04-031-6/+64
| | | | | | | gets stuck and NonFinite Avatar messages floods console Addresses Mantis #3380
* * refactor: Call StatsReporter methods directly rather than through Scene ↵Justin Clarke Casey2009-04-031-13/+14
| | | | | | | | (as WebStatsModule was doing) * Assume that StatsReporter is always present (possibly as a no-op impl) rather than doing null checks
* * Committing patch in mantis 3376 [Patch] Fix a minor animation handling ↵Teravus Ovares2009-04-011-20/+0
| | | | | | | | | | glitch in ScenePresence * .. * .. * err, okay, this was a stick-buggery April 1st joke by me. This removes it. Happy April 1st! * fixes mantis 3376
* * Remove redundancies in ScenePresenceTeravus Ovares2009-03-281-63/+59
|
* * Adds AgentUUIDs into the CourseLocationUpdate to improve compatibility ↵Teravus Ovares2009-03-281-1/+5
| | | | | | | with LibOMV based clients. * Modifies the IClientAPI! So client stacks will need to be modified!
* * This updates LibOMV to the current release 0.6.0 on March 19 2009Teravus Ovares2009-03-271-8/+8
| | | | | | * Important: HttpServer.dll was changed to HttpServer_OpenSim.dll so that the HttpServer references do not conflict if you've copied the OpenMetaverse.Http.dll and requirements to the OpenSimulator bin folder. This means that if you reference HttpServer.dll in any projects, you will need to change the reference to HttpServer_OpenSim.dll. It still uses the Same HttpServer namespace though.
* Moved a method GetDefaultVisualParameters from Scene to AvatarAppearance, ↵diva2009-03-271-2/+5
| | | | where it belongs. Better error handling in ScenePresence.CopyFrom.
* * Appearance patches suite: These patches are applied to allow libomv bots ↵Sean Dague2009-03-251-0/+5
| | | | | | | | | | | | to wear outfits in the future. This functionality will be upstreamed later. ** Fixed call of new AvatarAppearance without arguments, which caused bots look like clouds of gas ** Added a SendAvatarData in ScenePresence.SetAppearance, which is expected after SetAppearance is run ** Fixed AssetXferUploader: CallbackID wasn't being passed on on multiple packets asset uploads ** Set VisualParams in AvatarAppearance to stop the alien looking bot from spawning and now looks a little better. *** TODO: Set better VisualParams value then 150 to everything
* Root agent retrieval via http/REST. This is a pull, the caller gets the ↵diva2009-03-231-0/+7
| | | | agent. This is not used by the regions yet, but it may be a better alternative to transfer agents even when that is done by the regions. The data is still trivial; soon it will have attachments, scripts and script state. Also, authorization tokens still to come. Serialization using OSD/json, as the other methods.
* From: Alan M Webb <alan_webb@us.ibm.com>Dr Scofield2009-03-101-1/+1
| | | | | Fix a null reference loophole in ScenePresence.
* * Tweak llMoveToTarget per mantis 3265Teravus Ovares2009-03-091-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.
* * Fixes mantis: #3241Teravus Ovares2009-03-071-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.
* * minor: remove some mono compiler warningsJustin Clarke Casey2009-03-061-3/+4
|
* * Replace Scene.GetLandHeight() with a straight query to Scene.Heightmap ↵Justin Clarke Casey2009-03-051-1/+1
| | | | (which is used in other contexts)
* * remove now unused serialization codeJustin Clarke Casey2009-03-051-353/+2
|
* A few updates necessary for load balancer.Mike Mazur2009-02-251-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
* Close-to-final tweaking with appearance. This time sending *everything*. ↵diva2009-02-241-21/+8
| | | | Addresses mantis #3223.
* From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague2009-02-231-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!).
* Prevent avatar from walking along z-axisMike Mazur2009-02-231-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.
* A little bit more tweaking with appearance. Now passing both the wearables ↵diva2009-02-231-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.
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-221-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.
* Addresses some issues with appearance after TPs. Appearance.Owner was not ↵diva2009-02-221-4/+8
| | | | being set, and that's what's being used in SendAppearanceToOtherAgent. Mantis #3204.
* Stops animations on Teleports, to conform with what the viewer does.diva2009-02-181-0/+5
|
* Fixes height on Basic Physics in local teleports. Plus some small refactoring.diva2009-02-181-1/+16
|
* Adds support for preserving animations on region crossings and TPs. diva2009-02-181-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.
* Makes SP.CopyFrom a bit more robust with respect to sims in older versions ↵diva2009-02-171-6/+4
| | | | which still don't have the new appearance management code.
* Re-add the objectID field to the anim pack, that was deemed unneccessaryMelanie Thielker2009-02-171-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.
* Small change on dealing with ODE physics, so that this warning doesn't ↵diva2009-02-171-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.
* Major change to how appearance is managed, including changes in login and ↵diva2009-02-171-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).
* More guards around SetHeight.diva2009-02-151-2/+3
|
* Fix exception when standing up.idb2009-02-151-1/+1
| | | | | Fixes Mantis #3170
* Guarding the new call to SetHeight in MakeRoot, so that ODE doesn't complain ↵diva2009-02-151-1/+1
| | | | when it's 0.
* Moving SendInitialData sort of back to where it was before, so that it ↵diva2009-02-151-4/+5
| | | | doesn't interfere with the unit tests.
* This started as way to correct Mantis #3158, which I believe should be fixed ↵diva2009-02-151-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.
* Makes region crossings asynchronous. Moved the bulk of the original code out ↵diva2009-02-121-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!
* * refactor: Move RequestInventoryForUser() from service to CachedUserInfoJustin Clarke Casey2009-02-121-3/+10
| | | | | | * This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
* Moved prim crossing out of OGS1 and into RESTComms and ↵diva2009-02-091-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.
* a last set of files that seem to have embedded ^M in themSean Dague2009-02-091-4/+4
|
* * Removed the duplicate AddCapsHandler that existed in ↵diva2009-02-081-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
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-061-0/+3649
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!