aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* Fix regression where mouse look flight direction no longer worked by zeroing ↵Justin Clark-Casey (justincc)2013-12-052-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-031-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-301-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-301-10/+0
| | | | only set true once and never reset
* Implement most effects of AGENT_CONTROL_STOPJustin Clark-Casey (justincc)2013-11-302-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-301-19/+6
| | | | rather than a byte
* Still send CameraEyeOffset in UDP SendSitReponse even if at offset is ↵Justin Clark-Casey (justincc)2013-11-291-5/+2
| | | | Vector3.Zero
* Remove unused sp.ParentPosition, which has not been used for some timeJustin Clark-Casey (justincc)2013-11-292-21/+2
|
* Comment out debug sit message accidently left activeJustin Clark-Casey (justincc)2013-11-291-3/+3
|
* Merge branch 'link-sitting'Justin Clark-Casey (justincc)2013-11-292-16/+111
|\
| * Fix regression where sitting on ground stopped working.Justin Clark-Casey (justincc)2013-11-291-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-291-1/+1
| | | | | | | | sitting
| * Fix stand positions rather than having the stand jump to the root prim.Justin Clark-Casey (justincc)2013-11-272-7/+59
| |
| * Only translate linked prim specified offset pos by the link prim rotation, ↵Justin Clark-Casey (justincc)2013-11-261-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-261-3/+28
| | | | | | | | explicitly specified
* | Add parameter checking for land_collision, land_collision_start and ↵Justin Clark-Casey (justincc)2013-11-292-7784/+8165
| | | | | | | | | | | | land_collision_end lsl events Wrong number of parmeters now generates syntax error on compile, as seen on LL grid
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2013-11-283-4/+50
|\ \
| * | Change the log level for the LOGIN DISABLED and LOGIN ENABLED messages isMic Bowman2013-11-271-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 ↵dahlia2013-11-261-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 ↵dahlia2013-11-261-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 Oliveira2013-11-251-2/+2
| | | | | | | | | | | | | | | | | | http://opensimulator.org/mantis/view.php?id=6865 Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* | | minor: Change ProfileServiceURL reference in OpenSim.ini.example to be ↵Justin Clark-Casey (justincc)2013-11-281-1/+1
|/ / | | | | | | consistent
* | Revert "Fix issue where sitting on non-root linked prims would send camera ↵Justin Clark-Casey (justincc)2013-11-232-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-231-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-231-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-231-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-231-1/+1
| | | | | | | | | | | | targets." This reverts commit 78649eb0999a5f97cc541c94ec98d1d06ed957cb.
* | Revert "fix avatar rotation when sitting on a linked part"Justin Clark-Casey (justincc)2013-11-231-1/+1
|/ | | | | | Reverting for now to place on separate branch This reverts commit 65304260af283211443a2872c46f6609d3e45649.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2013-11-231-4/+5
|\
| * Fixed the update StoreRegionWindlightSettings() wasn't updating ↵Fernando Oliveira2013-11-221-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 partJustin Clark-Casey (justincc)2013-11-231-1/+1
|/ | | | Need to take into account rotation of linked prim now that we are always specifying sits wrt the root prim
* Remove old *.exe.config files that related to programs that have long been ↵Justin Clark-Casey (justincc)2013-11-233-89/+0
| | | | deleted or renamed
* Refix fix for sitting on non-root linked prims with explicit sit targets.Justin Clark-Casey (justincc)2013-11-231-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-231-1/+1
| | | | specified as well.
* Stop .NET 4 complaining on Windows when it tries to load in DLLs that ↵Justin Clark-Casey (justincc)2013-11-236-0/+8
| | | | | | | | | haven't been marked as trusted in the operating system. This is done by adding <loadFromRemoteSources enabled="true" /> to the execute *.config files. This tells .NET 4 to trust the DLLs, which is safe in our case since we are not loading DLLs from locations that untrusted users may specify Addresses http://opensimulator.org/mantis/view.php?id=6853 and http://opensimulator.org/mantis/view.php?id=6846 As far as I know, CAS policy checks have never been performed in Mono
* Add line accidentally left out of recent non-root prim sit fixJustin Clark-Casey (justincc)2013-11-231-0/+2
| | | | Original commit is ff4e7de7
* Still send CameraEyeOffset in UDP SendSitReponse even if at offset is ↵Justin Clark-Casey (justincc)2013-11-231-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-231-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-232-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 commandEva Comaroski2013-11-201-0/+136
|
* Fix bug where "show modules" would accidentally list all the shared modules ↵Justin Clark-Casey (justincc)2013-11-191-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-191-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-191-1/+1
| | | | | | been set. Continue to return null instead.
* Normalize viewer version string to accomodate new style version reporting in ↵Latif Khalifa2013-11-191-1/+24
| | | | the viewers
* Add regression test to check that specifying a non-existent event raise a ↵Justin Clark-Casey (justincc)2013-11-161-0/+9
| | | | | | syntax error This was the case before any of the recent changes
* Add syntax checking for no_sensor() no-arg eventJustin Clark-Casey (justincc)2013-11-162-4970/+4981
|
* refactor common code out of no argument LSL event regression testsJustin Clark-Casey (justincc)2013-11-161-14/+13
|
* If anything other than a single integer is specified for events that only ↵Justin Clark-Casey (justincc)2013-11-162-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-162-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 compileJustin Clark-Casey (justincc)2013-11-161-14/+17
|