aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Prevent teleports from ending undergroundMelanie Thielker2009-07-081-0/+11
|
* Removed the List<NewForce> m_forceList from ScenePresence, as there wasn't ↵MW2009-06-281-20/+18
| | | | any need for a list, as only the last entry in it was acted on. So it now has a single NewForce m_nextVelocity , which is updated (rather than a NewForce object being created every AgentUpdate). So as well as cutting out all the adds and clearing of the list, it also removes the creation of upto 100+ new objects per second per avatar.
* Extracted the code that handles the sending of prim updates to the client, ↵MW2009-06-261-155/+25
| | | | | | | from ScenePresence into ISceneViewer/SceneViewer. Currently ScenePresence "has" a ISceneViewer, although if we had a proper Node based scenegraph then it would most likely be attached directly to the nodes. By extracting this code, it should make it easier to experiment with different ways of managing the update process. [Next step to make this module based, could be to create a SceneViewerFactoryModule]
* Added a note to the ScenePresence.UpdateMovement() method, to remind ↵MW2009-06-251-1/+1
| | | | everyone that the so called "forces" are actually velocities.
* Applied patch from mantis #3820 which changed the clearing of the ↵MW2009-06-251-20/+16
| | | | | | | ScenePresence.m_forcesList, so it used the List.Clear method rather than doing a loop through the list and manually removing each item. Thanks dslake. I also fixed the issue where the code also loops through the m_forcesList and copies each force to the ScenePresence's movementVector. Which resulted in only the last force in the list actually be acted on. As each copy overrode the last one. So now it only copies the last force in the list.
* Formatting cleanup.Jeff Ames2009-06-101-1/+1
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva2009-05-151-1/+1
| | | | | | | | | | | | -- please see the example. Affects region servers only. This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
* * Adds ScenePresence.TeleportWithMomentum - same as .Teleport, but preserves ↵Adam Frisby2009-05-121-0/+18
| | | | velocity.
* Add a method to flush the prim update buffers once a frame, since the timerMelanie Thielker2009-05-041-0/+2
| | | | | | | appear to be too slow to be useful, or fail too fire. I may remove the timers as a consequence if this.
* Add a tweakable for the prim queue preloadMelanie Thielker2009-05-011-9/+9
|
* Throttle prim sending a bit (again) to ensure the queues don't overrun andMelanie Thielker2009-05-011-2/+2
| | | | | | clog
* Add methods to block and queue agent updates during region crossing and TPMelanie Thielker2009-05-011-0/+43
| | | | | | | This is to ensure integrity of animations and script states with regard to controls pressed or released. No user functionality yet.
* Send the animations of all already present avatar to an avatar entering a simMelanie Thielker2009-05-011-0/+6
| | | | | | to stop the "folded legs" on simcross
* Improve prim sending by combining multiple prim updates into a single packetMelanie Thielker2009-05-011-2/+2
|
* Thank you, mpallari, for a patch that increses efficiency by combiningMelanie Thielker2009-04-301-1/+1
| | | | | | | | avatar updates into a single packet. Applied with changes. Fixes Mantis #3136
* Thank you kindly, MPallari for a patch that:Charles Krinke2009-04-211-2/+31
| | | | | | | | | This patch adds few properties to ScenePresence and thus allows region module or MRM script: 1. Force flying for avatar or, 2. Disable flying from avatar
* Thank you kindly, MPallari, for a patch that:Charles Krinke2009-04-191-1/+9
| | | | | | | | This patch adds new property to ScenePresence: SpeedModifier. With this, one can modify avatars speed from region module or MRM script.
* 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
|