Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add beginning of ScenePresenceAgentTests.TestCreateChildScenePresence() | Justin Clark-Casey (justincc) | 2011-12-03 | 8 | -29/+86 |
| | | | | | 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. | ||||
* | Improve locking in AgentCircuitManager | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -25/+41 |
| | |||||
* | Use GetAgentCircuits() to receive a copy of the AgentCircuitsByUUID ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 3 | -42/+57 |
| | | | | dictionary rather than AgentCircuitManager.AgentCircuits directly in "show circuits" to avoid enumeration exceptions | ||||
* | Add agent circuit number checks to TestCloseAgent() | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -0/+4 |
| | |||||
* | Correct SOP.GetNumberOfSides() to return 8 for meshes rather than 7 | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -7/+5 |
| | | | | | We are returning the actual number of 'sides', not the maximum index number. Also minor format corrections. | ||||
* | Workaround for mesh to correct the number of faces in GetNumberOfSides(). ↵ | marc | 2011-12-03 | 1 | -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> | ||||
* | Update SP.PhysicsCollisionUpdate() doc. | Justin Clark-Casey (justincc) | 2011-12-03 | 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 | ||||
* | change misleading login = http://127.0.0.1:9000/ in GridInfoService in ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -1/+1 |
| | | | | Robust.ini.example to 8002 | ||||
* | Add method doc to SP.PhysicsCollisionUpdate() to make it clear that it's ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -0/+4 |
| | | | | called continuously even where there are no collisions | ||||
* | Add basic TestFlyingAnimation() regression test | Justin Clark-Casey (justincc) | 2011-12-03 | 2 | -2/+75 |
| | |||||
* | Stop calling Animator.UpdateMovementAnimations() at the end of ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -2/+2 |
| | | | | | | HandleAgentUpdate(). There's no point doing this if it's being called via PhysicsCollisionUpdate | ||||
* | For now, disable mechanism to limit avatar animation updates since this ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 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() | ||||
* | refactor: Use just ScenePresenceAnimator.CurrentMovementAnimation rather ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -14/+12 |
| | | | | than duplicating it with m_movementAnimation | ||||
* | Use agent.Animator.CurrentMovementAnimation in llGetAgentInfo() rather than ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -1/+1 |
| | | | | asking for a new determination | ||||
* | Do a cagent.Anims != null check in SP.CopyFrom() | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -1/+3 |
| | |||||
* | Rename ScenePresenceAnimator.GetMovementAnimation() -> ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 2 | -4/+9 |
| | | | | DetermineMovementAnimation() for better code readability | ||||
* | Stop SP.HandleAgentUpdate() and PhysicsCollisionUpdate() from being ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 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. | ||||
* | Stop some places where we're trying to reset animations in child agents ↵ | Justin Clark-Casey (justincc) | 2011-12-02 | 4 | -116/+133 |
| | | | | where such requests are ignored. | ||||
* | Remove pointless Animator.TrySetMovementAnimation("STAND") in ScenePresnece ↵ | Justin Clark-Casey (justincc) | 2011-12-02 | 1 | -3/+0 |
| | | | | | | constructor. Comment was right - it is indeed useless since SP always starts off as child and TrySetMovementAnimation screens out child SP | ||||
* | Stop performing the asset save part of baked texture uploading on the ↵ | Justin Clark-Casey (justincc) | 2011-12-01 | 1 | -5/+9 |
| | | | | | | | | | UploadBakedTexture cap asynchronously. This prevents a possible race condition where the client would be told all baked textures had updated before they were in the asset service. The client would then trigger a set appearance which, after a delay, would send the avatar appearance out to other clients. The race condition seems unlikely because of this delay but it's still possible. Might help with grey avatar appearances. | ||||
* | refactor: Separate the upload baked texture handler out from BunchOfCaps | Justin Clark-Casey (justincc) | 2011-12-01 | 4 | -125/+293 |
| | |||||
* | Provide more user feedback when "debug http" is set | Justin Clark-Casey (justincc) | 2011-11-29 | 1 | -1/+4 |
| | |||||
* | On "show caps", stop excluding the seed cap but do exclude it elsewhere | Justin Clark-Casey (justincc) | 2011-11-29 | 4 | -18/+21 |
| | |||||
* | With "debug http 1", show the path with the query string instead of just the ↵ | Justin Clark-Casey (justincc) | 2011-11-29 | 1 | -21/+21 |
| | | | | | | path. Also simplifies debug levels to just 0 and 1 | ||||
* | Improve some of the debug help messages | Justin Clark-Casey (justincc) | 2011-11-29 | 3 | -6/+6 |
| | |||||
* | minor: remove mono compile warning, a Vector3 can never be null since it's a ↵ | Justin Clark-Casey (justincc) | 2011-11-29 | 1 | -9/+6 |
| | | | | struct | ||||
* | tabulate "show caps" output for easier readability | Justin Clark-Casey (justincc) | 2011-11-29 | 1 | -5/+10 |
| | |||||
* | Correct mistake in "debug eq" help | Justin Clark-Casey (justincc) | 2011-11-29 | 1 | -1/+1 |
| | |||||
* | Add "debug http" command for currently simple extra debug logging of ↵ | Justin Clark-Casey (justincc) | 2011-11-29 | 2 | -14/+67 |
| | | | | non-event queue inbound http requests to a simulator | ||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | BlueWall | 2011-11-26 | 14 | -212/+143 |
|\ | |||||
| * | When removing an LSL sensor for a script (e.g. through llResetScript() or ↵ | Justin Clark-Casey (justincc) | 2011-11-26 | 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 | ||||
| * | minor: formatting changes in Scene.PacketHandlers.cs | Justin Clark-Casey (justincc) | 2011-11-26 | 1 | -5/+5 |
| | | |||||
| * | minor: remove mono compiler warning | Justin Clark-Casey (justincc) | 2011-11-26 | 1 | -1/+1 |
| | | |||||
| * | Rip out unused Scene.HandleFetchInventoryDescendentsCAPS(). | Justin Clark-Casey (justincc) | 2011-11-26 | 3 | -59/+13 |
| | | | | | | | | This has been handled by WebFetchInvDescHandler.Fetch() for some time. | ||||
| * | Use the same web fetch handler for every request from every avatar, since it ↵ | Justin Clark-Casey (justincc) | 2011-11-26 | 1 | -3/+11 |
| | | | | | | | | contains no instance code | ||||
| * | Stop locking the requests coming in to WebFetchInvDecHandler. | Justin Clark-Casey (justincc) | 2011-11-26 | 1 | -8/+8 |
| | | | | | | | | There's no technical reason for this as the methods are thread safe. However, it might have served to slow down requests. | ||||
| * | Fix config so that you can have both WebFetchInventoryDescendents and ↵ | Justin Clark-Casey (justincc) | 2011-11-25 | 1 | -1/+2 |
| | | | | | | | | FetchInvnetoryDescendents2 caps active at once | ||||
| * | Resolve error where an unknown asset type would cause the fetch inventory ↵ | Justin Clark-Casey (justincc) | 2011-11-25 | 2 | -44/+44 |
| | | | | | | | | | | | | descendents cap to fail. Introduced just a few commits ago in 0688861 | ||||
| * | Implement the FetchInventoryDescendents2 capability using the same code as ↵ | Justin Clark-Casey (justincc) | 2011-11-25 | 3 | -22/+46 |
| | | | | | | | | | | | | WebFetchInventoryDescendents. Enabling this by setting Cap_FetchInventoryDescendents2 = "localhost" in the [ClientStack.LindenCaps] section of OpenSim.ini downloads inventory via http rather than udp in later viewers. | ||||
| * | remove some mono compiler warnings | Justin Clark-Casey (justincc) | 2011-11-25 | 6 | -13/+13 |
| | | |||||
| * | Use the more extensive Utils.AssetTypeToString()/InventoryTypeToString() ↵ | Justin Clark-Casey (justincc) | 2011-11-25 | 3 | -61/+5 |
| | | | | | | | | conversion rather than the arrays in TaskInventoryItem | ||||
* | | Add missing property to llGetLinkPrimitiveParams | BlueWall | 2011-11-26 | 2 | -0/+4 |
|/ | |||||
* | Fix WebFetchInventoryDescendents cap to use ↵ | Justin Clark-Casey (justincc) | 2011-11-25 | 2 | -8/+17 |
| | | | | | | Utils.AssetTypeTostring/InventoryTypeToString to convert types to strings These cover a wider range of types. | ||||
* | Adding missing CrossBehaviour.cs file to fix build | Justin Clark-Casey (justincc) | 2011-11-24 | 1 | -0/+169 |
| | |||||
* | Remove bizarre call to PhysicsScene.Simulate(0) in ↵ | Justin Clark-Casey (justincc) | 2011-11-24 | 1 | -4/+2 |
| | | | | | | Scene.GetNearestAllowedPosition() At least on ODE, this wasn't doing any harm but there wasn't any point to it either | ||||
* | On pCampBot, add bot as a property on behaviours instead of passing it in ↵ | Justin Clark-Casey (justincc) | 2011-11-24 | 7 | -56/+115 |
| | | | | every time | ||||
* | minor: remove mono compiler warning | Justin Clark-Casey (justincc) | 2011-11-24 | 1 | -1/+1 |
| | |||||
* | When setting packet level logging via "debug packet", apply to all clients, ↵ | Justin Clark-Casey (justincc) | 2011-11-24 | 2 | -21/+21 |
| | | | | | | not just root ones. Also adds scene name and client type (root|child) to logged information. | ||||
* | comment out a noisy log line I accidentally left in from the last commit | Justin Clark-Casey (justincc) | 2011-11-24 | 1 | -1/+1 |
| | |||||
* | Stop passing a request handler to the initial caps.RegisterHandler in ↵ | Justin Clark-Casey (justincc) | 2011-11-24 | 2 | -161/+165 |
| | | | | | | EventQueueGetModule since this is immediatley replaced by a poll server handler. This allows us to comment out a bunch of code and simplify the codebase and readability. |