aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-12-08Simplify Scene.AddNewClient()Justin Clark-Casey (justincc)1-17/+28
If sp becomes null right after we've checked or created it, then behaviour down the line is going to be wrong anyway. So instead retain the check/create ScenePresence reference and use this.
2011-12-07Remove unused SceneManager.TryGetAvatarsScene()Justin Clark-Casey (justincc)1-20/+0
It makes far more sense anyway to use TryGetRootScenePresence().Scene, in common with the rest of the code This method could also return any scene for child or root agents, depending in which order the scenes happened to lie in the list
2011-12-07On an Exception in Scene.RemoveClient(), always remove the client (and SP) ↵Justin Clark-Casey (justincc)1-19/+28
structure so that logout on unexpired packets isn't retriggered, causing the same exception
2011-12-07Implement XMLRPCAdmin command admin_teleport_agent.Justin Clark-Casey (justincc)3-3/+42
This allows someone with access to this command on the XMLRPCAdmin interface to teleport an avatar to an arbitrary region and/or position.
2011-12-07Trigger a Jenkins buildBlueWall1-0/+1
2011-12-07Stop also adding an ordinary http handler when we set up a poll http handler.Justin Clark-Casey (justincc)2-17/+6
It appears that this is entirely unnecessary since the poll http handlers are dealt with on a separate code path.
2011-12-06Stop accidentally setting up the UploadTexture caps handler with the same ↵Justin Clark-Casey (justincc)1-1/+1
url for all users This meant that if a user exited the region, the UploadTexture handler would be effectively removed for everyone, causing subsequent failures. This hopefully resolves the recent UploadTexture LLSD problems This was a regression in 5640f2e (Thu Dec 1 23:24:15 2011 +0000)
2011-12-06Make "show appearance" a synonym for "appearance show"Justin Clark-Casey (justincc)1-2/+8
2011-12-06In "appearance show", if a particular avatar is specified, print out texture ↵Justin Clark-Casey (justincc)1-5/+35
UUID for each bake type and whether the simulator can find it.
2011-12-06Actually send the avatar data if an individual avatar is specified, rather ↵Justin Clark-Casey (justincc)1-0/+2
than accidentally doing nothing
2011-12-06Allow "appearance show" command to take an optional avatar nameJustin Clark-Casey (justincc)1-8/+40
2011-12-06Make it possible to manually send appearance information via the "appearance ↵Justin Clark-Casey (justincc)1-11/+42
send" command for a chosen avatar as well as all
2011-12-06Provide feedback as to which avatars are resending appearance informion on ↵Justin Clark-Casey (justincc)1-2/+11
"appearance send" console command
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)12-23/+23
of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
2011-12-05Fix CHANGED_TEXTURE and CHANGED_COLOR.Melanie4-65/+67
2011-12-03Split up test SceneHelpers to provide an AddChildScenePresence() callJustin Clark-Casey (justincc)1-0/+1
2011-12-03Remove T012_TestAddNeighbourRegion() and T013_TestRemoveNeighbourRegion() ↵Justin Clark-Casey (justincc)1-70/+5
since they don't do anything useful.
2011-12-03Extend TestCreateChildScenePresence to make assertions both at CreateAgent ↵Justin Clark-Casey (justincc)1-0/+16
stage and then at Scene.AddClient()
2011-12-03Add beginning of ScenePresenceAgentTests.TestCreateChildScenePresence()Justin Clark-Casey (justincc)3-16/+51
This required an option to be added to NullRegionData via ConnectionString for it to act as a non-static instance, so that regression tests (which only load this class once) don't get hopeless confused and complex to compensate. Normal standalone operation unaffected.
2011-12-03Use GetAgentCircuits() to receive a copy of the AgentCircuitsByUUID ↵Justin Clark-Casey (justincc)2-5/+3
dictionary rather than AgentCircuitManager.AgentCircuits directly in "show circuits" to avoid enumeration exceptions
2011-12-03Add agent circuit number checks to TestCloseAgent()Justin Clark-Casey (justincc)1-0/+4
2011-12-03Correct SOP.GetNumberOfSides() to return 8 for meshes rather than 7Justin Clark-Casey (justincc)1-7/+5
We are returning the actual number of 'sides', not the maximum index number. Also minor format corrections.
2011-12-03Workaround for mesh to correct the number of faces in GetNumberOfSides(). ↵marc1-1/+9
Meshs are handeled as sculpts but can have up to 8 faces (SL restriction the collada format can handle even more). The patch enables all LSL function that adressing faces to behave correct. Like llGetNumberOfSides(); llSetLinkPrimitiveParamsFast(); llSetPrimitiveParams(); llSetColor(); Signed-off-by: marc <mare@sounddog.net>
2011-12-03Update SP.PhysicsCollisionUpdate() doc.Justin Clark-Casey (justincc)1-2/+5
It might be inefficient, but there are collisions every frame if the avatar is walking/standing on the ground or a prim surface
2011-12-03Add method doc to SP.PhysicsCollisionUpdate() to make it clear that it's ↵Justin Clark-Casey (justincc)1-0/+4
called continuously even where there are no collisions
2011-12-03Add basic TestFlyingAnimation() regression testJustin Clark-Casey (justincc)2-2/+75
2011-12-03Stop calling Animator.UpdateMovementAnimations() at the end of ↵Justin Clark-Casey (justincc)1-2/+2
HandleAgentUpdate(). There's no point doing this if it's being called via PhysicsCollisionUpdate
2011-12-03For now, disable mechanism to limit avatar animation updates since this ↵Justin Clark-Casey (justincc)2-23/+28
causes avatars to never reach the correct animation after some actions. This reverts to situation where animation updates are made each frame on SP.PhysicsCollisionUpdate (though a packet is only sent if the anim actually changes). m_updateCount was not being update on various avatar state changes, causing the correct animations to never be sent. Always setting in HandleAgentUpdate() is not enough since the avatar is continually sending AgentUpdate packets. One would need to identify all the conditions under which animations need to play out and set m_updateCount appropriately in SP.HandleAgentUpdate()
2011-12-03refactor: Use just ScenePresenceAnimator.CurrentMovementAnimation rather ↵Justin Clark-Casey (justincc)1-14/+12
than duplicating it with m_movementAnimation
2011-12-03Use agent.Animator.CurrentMovementAnimation in llGetAgentInfo() rather than ↵Justin Clark-Casey (justincc)1-1/+1
asking for a new determination
2011-12-03Do a cagent.Anims != null check in SP.CopyFrom()Justin Clark-Casey (justincc)1-1/+3
2011-12-03Rename ScenePresenceAnimator.GetMovementAnimation() -> ↵Justin Clark-Casey (justincc)2-4/+9
DetermineMovementAnimation() for better code readability
2011-12-03Stop SP.HandleAgentUpdate() and PhysicsCollisionUpdate() from being ↵Justin Clark-Casey (justincc)2-12/+13
processed if we're dealing with a child ScenePresence. Neither of these can have any effect on child agents Now leaving warning about trying to set animation on a child agent active. Might temporarily pop up now and again.
2011-12-02Stop some places where we're trying to reset animations in child agents ↵Justin Clark-Casey (justincc)4-116/+133
where such requests are ignored.
2011-12-02Remove pointless Animator.TrySetMovementAnimation("STAND") in ScenePresnece ↵Justin Clark-Casey (justincc)1-3/+0
constructor. Comment was right - it is indeed useless since SP always starts off as child and TrySetMovementAnimation screens out child SP
2011-12-01refactor: Separate the upload baked texture handler out from BunchOfCapsJustin Clark-Casey (justincc)2-122/+113
2011-11-29Provide more user feedback when "debug http" is setJustin Clark-Casey (justincc)1-1/+4
2011-11-29On "show caps", stop excluding the seed cap but do exclude it elsewhereJustin Clark-Casey (justincc)2-2/+3
2011-11-29Improve some of the debug help messagesJustin Clark-Casey (justincc)3-6/+6
2011-11-29minor: remove mono compile warning, a Vector3 can never be null since it's a ↵Justin Clark-Casey (justincc)1-9/+6
struct
2011-11-29tabulate "show caps" output for easier readabilityJustin Clark-Casey (justincc)1-5/+10
2011-11-29Correct mistake in "debug eq" helpJustin Clark-Casey (justincc)1-1/+1
2011-11-29Add "debug http" command for currently simple extra debug logging of ↵Justin Clark-Casey (justincc)1-2/+24
non-event queue inbound http requests to a simulator
2011-11-26Add missing property to llGetLinkPrimitiveParamsBlueWall2-0/+4
2011-11-26When removing an LSL sensor for a script (e.g. through llResetScript() or ↵Justin Clark-Casey (justincc)1-1/+1
state change), don't also remove sensors for other scripts in the same prim. Hopefully fixes http://opensimulator.org/mantis/view.php?id=4448 and http://opensimulator.org/mantis/view.php?id=4452
2011-11-26minor: formatting changes in Scene.PacketHandlers.csJustin Clark-Casey (justincc)1-5/+5
2011-11-26minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2011-11-26Rip out unused Scene.HandleFetchInventoryDescendentsCAPS().Justin Clark-Casey (justincc)2-59/+0
This has been handled by WebFetchInvDescHandler.Fetch() for some time.
2011-11-26Use the same web fetch handler for every request from every avatar, since it ↵Justin Clark-Casey (justincc)1-3/+11
contains no instance code
2011-11-25Fix config so that you can have both WebFetchInventoryDescendents and ↵Justin Clark-Casey (justincc)1-1/+2
FetchInvnetoryDescendents2 caps active at once