Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | minor: Use enums for setting inv/asset types on data upload rather than ↵ | Justin Clark-Casey (justincc) | 2013-12-06 | 1 | -7/+7 |
| | | | | magic numbers | ||||
* | Properly set InventoryType.Snapshot when a snapshot is uploaded | Justin Clark-Casey (justincc) | 2013-12-06 | 1 | -0/+4 |
| | | | | | Resolves http://opensimulator.org/mantis/view.php?id=6857 This prevents the inventory service complaining later about an attempt to change an invariant | ||||
* | Fix regression where mouse look flight direction no longer worked by zeroing ↵ | Justin Clark-Casey (justincc) | 2013-12-05 | 2 | -14/+26 |
| | | | | | | | x/y rot before sending agent updates, instead of before any agent update processing It turns out that the x/y rot data in mouselook is needed to implement this and to push the avatar against the ground if walking in mouselook. Doing this in the terse send so that we preserve mouselook rotation information | ||||
* | Ignore X and Y body rotations when sent by mouse look. | Justin Clark-Casey (justincc) | 2013-12-03 | 1 | -3/+15 |
| | | | | | | | | Fixes http://opensimulator.org/mantis/view.php?id=3274 When not in mouselook, avatar only sends rotations around the Z plane (since that's the only way an avatar can rotate). However, in mouselook it also sends X and Y information. But sending X and Y in terse updates causes issues with wrong camera movement in mouselook. So strip out X and Y components for now. If this is an issue, then could strip out before sending avatar terse update, though this generates more cpu work. Thanks to mirceakitsune for suggesting an initial fix | ||||
* | Actually use the SP.AgentControlStopSlowWhilstMoving parameter intoroduced ↵ | Justin Clark-Casey (justincc) | 2013-11-30 | 1 | -1/+1 |
| | | | | for slow walk/run in 4cfe02a rather than the magic number | ||||
* | Remove unused SP.Updated flag, which appears unused for many years and was ↵ | Justin Clark-Casey (justincc) | 2013-11-30 | 1 | -10/+0 |
| | | | | only set true once and never reset | ||||
* | Implement most effects of AGENT_CONTROL_STOP | Justin Clark-Casey (justincc) | 2013-11-30 | 2 | -44/+104 |
| | | | | | | | | | | AGENT_CONTROL_STOP is specified to SP.HandleAgentUpdate if the user holds down the space bar on a viewer. For a stopped avatar, this prevents fly or walk/run (though not rotate) until released. For a walking/running avatar, this reduces movement to half speed. For a flying avatar, this stops the avatar. These are observed behaviours on the LL grid - there was no previous OpenSimulator implementation This commit introduces an optional parameter to SP.AddNewMovement(), which means that it will no longer compile on .NET 3.5 or earlier versions of Mono than 2.8 Currently, this does not work for jumping, and if used whilst flying the avatar continues the fly animation even though it does not move | ||||
* | Remove nudgehack from SP.HandleAgentUpdate by making MovementFlag a uint ↵ | Justin Clark-Casey (justincc) | 2013-11-30 | 1 | -19/+6 |
| | | | | rather than a byte | ||||
* | Still send CameraEyeOffset in UDP SendSitReponse even if at offset is ↵ | Justin Clark-Casey (justincc) | 2013-11-29 | 1 | -5/+2 |
| | | | | Vector3.Zero | ||||
* | Remove unused sp.ParentPosition, which has not been used for some time | Justin Clark-Casey (justincc) | 2013-11-29 | 2 | -21/+2 |
| | |||||
* | Comment out debug sit message accidently left active | Justin Clark-Casey (justincc) | 2013-11-29 | 1 | -3/+3 |
| | |||||
* | Merge branch 'link-sitting' | Justin Clark-Casey (justincc) | 2013-11-29 | 2 | -16/+111 |
|\ | |||||
| * | Fix regression where sitting on ground stopped working. | Justin Clark-Casey (justincc) | 2013-11-29 | 1 | -8/+11 |
| | | | | | | | | This was due to the PhysicsActor no longer being recreated on stand from ground. | ||||
| * | Restore SP.AbsolutePosition to properly return actual absolute position when ↵ | Justin Clark-Casey (justincc) | 2013-11-29 | 1 | -1/+1 |
| | | | | | | | | sitting | ||||
| * | Fix stand positions rather than having the stand jump to the root prim. | Justin Clark-Casey (justincc) | 2013-11-27 | 2 | -7/+59 |
| | | |||||
| * | Only translate linked prim specified offset pos by the link prim rotation, ↵ | Justin Clark-Casey (justincc) | 2013-11-26 | 1 | -13/+15 |
| | | | | | | | | | | | | not any specified avatar rotation as well. Don't translate root prim position by avatar rotation. | ||||
| * | fix position changes when sitting on a prim with position and/or orientation ↵ | Justin Clark-Casey (justincc) | 2013-11-26 | 1 | -3/+28 |
| | | | | | | | | explicitly specified | ||||
* | | Add parameter checking for land_collision, land_collision_start and ↵ | Justin Clark-Casey (justincc) | 2013-11-29 | 2 | -7784/+8165 |
| | | | | | | | | | | | | land_collision_end lsl events Wrong number of parmeters now generates syntax error on compile, as seen on LL grid | ||||
* | | Change the log level for the LOGIN DISABLED and LOGIN ENABLED messages is | Mic Bowman | 2013-11-27 | 1 | -2/+4 |
| | | | | | | | | | | | | the RegionReady module to be warn so that the message will show up in the log for simulators running in a more production mode (knowing when logins are functional is useful). | ||||
* | | "rotate scene" command now uses Constants.RegionSize / 2 to pick the center ↵ | dahlia | 2013-11-26 | 1 | -4/+15 |
| | | | | | | | | of rotation and center can be optionally overridden in the command line | ||||
* | | add a "rotate scene" console command. Seems to work for prims/sculpts/mesh ↵ | dahlia | 2013-11-26 | 1 | -0/+33 |
| | | | | | | | | but not for foliage, don't know why. Also doesn't work on terrain. Successive use of this command will likely introduce floating point error accumulation. Back up your region before using it :) | ||||
* | | Corrected case to get columns from Regions table from PostgreSQL ↵ | Fernando Oliveira | 2013-11-25 | 1 | -2/+2 |
| | | | | | | | | | | | | http://opensimulator.org/mantis/view.php?id=6865 Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com> | ||||
* | | Revert "Fix issue where sitting on non-root linked prims would send camera ↵ | Justin Clark-Casey (justincc) | 2013-11-23 | 2 | -14/+3 |
| | | | | | | | | | | | | | | | | to wrong position in third-person and mouselook" Reverting to place on separate branch This reverts commit ff4e7de7769b7eaa1b4fd3917e59f362b708226a. | ||||
* | | Revert "Add line accidentally left out of recent non-root prim sit fix" | Justin Clark-Casey (justincc) | 2013-11-23 | 1 | -2/+0 |
| | | | | | | | | | | | | Reverting to place on new branch This reverts commit ed1029712a85206430fee1d4897d473517728dab. | ||||
* | | Revert "Still send CameraEyeOffset in UDP SendSitReponse even if at offset ↵ | Justin Clark-Casey (justincc) | 2013-11-23 | 1 | -2/+5 |
| | | | | | | | | | | | | is Vector3.Zero" This reverts commit 9bdd3dc7de46507b490a2eae5160123a28133d63. | ||||
* | | Revert "Fix non-root prim sit positions for prims where a sit target has ↵ | Justin Clark-Casey (justincc) | 2013-11-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | been specified as well." Revert to place on separate branch for now This reverts commit 70e651a8d1d0c2a48c4f26cd1c70bee098c11a57. | ||||
* | | Revert "Refix fix for sitting on non-root linked prims with explicit sit ↵ | Justin Clark-Casey (justincc) | 2013-11-23 | 1 | -1/+1 |
| | | | | | | | | | | | | targets." This reverts commit 78649eb0999a5f97cc541c94ec98d1d06ed957cb. | ||||
* | | Revert "fix avatar rotation when sitting on a linked part" | Justin Clark-Casey (justincc) | 2013-11-23 | 1 | -1/+1 |
|/ | | | | | | Reverting for now to place on separate branch This reverts commit 65304260af283211443a2872c46f6609d3e45649. | ||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2013-11-23 | 1 | -4/+5 |
|\ | |||||
| * | Fixed the update StoreRegionWindlightSettings() wasn't updating ↵ | Fernando Oliveira | 2013-11-22 | 1 | -4/+5 |
| | | | | | | | | | | | | | | regionwindlight table, raising PrimaryKey violation; Signed-off-by: Fernando Oliveira <fernando@oliveira.eti.br> Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com> | ||||
* | | fix avatar rotation when sitting on a linked part | Justin Clark-Casey (justincc) | 2013-11-23 | 1 | -1/+1 |
|/ | | | | Need to take into account rotation of linked prim now that we are always specifying sits wrt the root prim | ||||
* | Refix fix for sitting on non-root linked prims with explicit sit targets. | Justin Clark-Casey (justincc) | 2013-11-23 | 1 | -1/+1 |
| | | | | I forgot that m_post is being set inconsistently between non-explicit and explicit ragets | ||||
* | Fix non-root prim sit positions for prims where a sit target has been ↵ | Justin Clark-Casey (justincc) | 2013-11-23 | 1 | -1/+1 |
| | | | | specified as well. | ||||
* | Add line accidentally left out of recent non-root prim sit fix | Justin Clark-Casey (justincc) | 2013-11-23 | 1 | -0/+2 |
| | | | | Original commit is ff4e7de7 | ||||
* | Still send CameraEyeOffset in UDP SendSitReponse even if at offset is ↵ | Justin Clark-Casey (justincc) | 2013-11-23 | 1 | -5/+2 |
| | | | | | | Vector3.Zero As far as I can see it's valid to change the eye offset even if you aren't changing the at target. | ||||
* | Fix false positive test failure in ↵ | Justin Clark-Casey (justincc) | 2013-11-23 | 1 | -2/+2 |
| | | | | | | TestRepeatSameDrawContainingImageReusingTexture() and TestRepeatSameDrawContainingImage() if localhost has a webserver set up. Use 0.0.0.0 instead of localhost | ||||
* | Fix issue where sitting on non-root linked prims would send camera to wrong ↵ | Justin Clark-Casey (justincc) | 2013-11-23 | 2 | -3/+14 |
| | | | | | | position in third-person and mouselook We now specify sits as offsets from the root prim, as the viewer expects. | ||||
* | Added admin_authenticate_user command | Eva Comaroski | 2013-11-20 | 1 | -0/+136 |
| | |||||
* | Fix bug where "show modules" would accidentally list all the shared modules ↵ | Justin Clark-Casey (justincc) | 2013-11-19 | 1 | -1/+1 |
| | | | | | | again as "non-shared" Addresses http://opensimulator.org/mantis/view.php?id=6860 | ||||
* | rename private field ACD.ViewerInternal to m_viewerInternal in line with ↵ | Justin Clark-Casey (justincc) | 2013-11-19 | 1 | -5/+6 |
| | | | | conventions used elsewhere in code | ||||
* | Stop AgentCircuitData.Viewer.get() from throwing an error if no Viewer has ↵ | Justin Clark-Casey (justincc) | 2013-11-19 | 1 | -1/+1 |
| | | | | | | been set. Continue to return null instead. | ||||
* | Normalize viewer version string to accomodate new style version reporting in ↵ | Latif Khalifa | 2013-11-19 | 1 | -1/+24 |
| | | | | the viewers | ||||
* | Add regression test to check that specifying a non-existent event raise a ↵ | Justin Clark-Casey (justincc) | 2013-11-16 | 1 | -0/+9 |
| | | | | | | syntax error This was the case before any of the recent changes | ||||
* | Add syntax checking for no_sensor() no-arg event | Justin Clark-Casey (justincc) | 2013-11-16 | 2 | -4970/+4981 |
| | |||||
* | refactor common code out of no argument LSL event regression tests | Justin Clark-Casey (justincc) | 2013-11-16 | 1 | -14/+13 |
| | |||||
* | If anything other than a single integer is specified for events that only ↵ | Justin Clark-Casey (justincc) | 2013-11-16 | 2 | -8245/+8691 |
| | | | | | | take a single integer, generate a syntax error on LSL script compile rather than an exception later on. This applies to events changed, collision, collision_start, collision_end, on_rez, run_time_permissions, sensor, touch, touch_start, touch_end | ||||
* | Make state_exit, moving_end, moving_start, not_at_rot_target, not_at_target ↵ | Justin Clark-Casey (justincc) | 2013-11-16 | 2 | -7447/+7520 |
| | | | | | | | and timer LSL events generate a syntax error if inappropriately given arguments. This matches behaviour seen on the LL grid and a previous change for state_entry. These are all the events which should take no arguments | ||||
* | refactor LSL_EventTests.TestStateEntryEvent into single method to test compile | Justin Clark-Casey (justincc) | 2013-11-16 | 1 | -14/+17 |
| | |||||
* | minor: Use default(UUID) in rez attachment failure error logging rather than ↵ | Justin Clark-Casey (justincc) | 2013-11-15 | 1 | -1/+1 |
| | | | | | | | (UUID)null Patch from http://opensimulator.org/mantis/view.php?id=6843 Thanks Kira. | ||||
* | If HGSuitcaseInventoryService.GetRootFolder() fails to create a suitcase ↵ | Justin Clark-Casey (justincc) | 2013-11-15 | 1 | -6/+13 |
| | | | | | | | folder when required, then don't try to store the null and perform other operations on it. Patch from http://opensimulator.org/mantis/view.php?id=6844 Thanks Kira. |