aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-12-06use System.IO.Compression.DeflateStream for mesh decompression in an attempt ↵dahlia1-9/+5
to reduce mesh asset decoding failures
2013-12-06Add support for user preferences (im via email)BlueWall2-0/+69
2013-12-06minor: Use enums for setting inv/asset types on data upload rather than ↵Justin Clark-Casey (justincc)1-7/+7
magic numbers
2013-12-06Properly set InventoryType.Snapshot when a snapshot is uploadedJustin Clark-Casey (justincc)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
2013-12-05Fix regression where mouse look flight direction no longer worked by zeroing ↵Justin Clark-Casey (justincc)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
2013-12-03Ignore X and Y body rotations when sent by mouse look.Justin Clark-Casey (justincc)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
2013-11-30Actually use the SP.AgentControlStopSlowWhilstMoving parameter intoroduced ↵Justin Clark-Casey (justincc)1-1/+1
for slow walk/run in 4cfe02a rather than the magic number
2013-11-30Remove unused SP.Updated flag, which appears unused for many years and was ↵Justin Clark-Casey (justincc)1-10/+0
only set true once and never reset
2013-11-30Implement most effects of AGENT_CONTROL_STOPJustin Clark-Casey (justincc)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
2013-11-30Remove nudgehack from SP.HandleAgentUpdate by making MovementFlag a uint ↵Justin Clark-Casey (justincc)1-19/+6
rather than a byte
2013-11-29Still send CameraEyeOffset in UDP SendSitReponse even if at offset is ↵Justin Clark-Casey (justincc)1-5/+2
Vector3.Zero
2013-11-29Remove unused sp.ParentPosition, which has not been used for some timeJustin Clark-Casey (justincc)2-21/+2
2013-11-29Comment out debug sit message accidently left activeJustin Clark-Casey (justincc)1-3/+3
2013-11-29Fix regression where sitting on ground stopped working.Justin Clark-Casey (justincc)1-8/+11
This was due to the PhysicsActor no longer being recreated on stand from ground.
2013-11-29Restore SP.AbsolutePosition to properly return actual absolute position when ↵Justin Clark-Casey (justincc)1-1/+1
sitting
2013-11-29Add parameter checking for land_collision, land_collision_start and ↵Justin Clark-Casey (justincc)2-7784/+8165
land_collision_end lsl events Wrong number of parmeters now generates syntax error on compile, as seen on LL grid
2013-11-27Change the log level for the LOGIN DISABLED and LOGIN ENABLED messages isMic Bowman1-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).
2013-11-26"rotate scene" command now uses Constants.RegionSize / 2 to pick the center ↵dahlia1-4/+15
of rotation and center can be optionally overridden in the command line
2013-11-27Fix stand positions rather than having the stand jump to the root prim.Justin Clark-Casey (justincc)2-7/+59
2013-11-26add a "rotate scene" console command. Seems to work for prims/sculpts/mesh ↵dahlia1-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 :)
2013-11-26Only translate linked prim specified offset pos by the link prim rotation, ↵Justin Clark-Casey (justincc)1-13/+15
not any specified avatar rotation as well. Don't translate root prim position by avatar rotation.
2013-11-26fix position changes when sitting on a prim with position and/or orientation ↵Justin Clark-Casey (justincc)1-3/+28
explicitly specified
2013-11-23Revert "Fix issue where sitting on non-root linked prims would send camera ↵Justin Clark-Casey (justincc)2-14/+3
to wrong position in third-person and mouselook" Reverting to place on separate branch This reverts commit ff4e7de7769b7eaa1b4fd3917e59f362b708226a.
2013-11-23Revert "Add line accidentally left out of recent non-root prim sit fix"Justin Clark-Casey (justincc)1-2/+0
Reverting to place on new branch This reverts commit ed1029712a85206430fee1d4897d473517728dab.
2013-11-23Revert "Still send CameraEyeOffset in UDP SendSitReponse even if at offset ↵Justin Clark-Casey (justincc)1-2/+5
is Vector3.Zero" This reverts commit 9bdd3dc7de46507b490a2eae5160123a28133d63.
2013-11-23Revert "Fix non-root prim sit positions for prims where a sit target has ↵Justin Clark-Casey (justincc)1-1/+1
been specified as well." Revert to place on separate branch for now This reverts commit 70e651a8d1d0c2a48c4f26cd1c70bee098c11a57.
2013-11-23Revert "Refix fix for sitting on non-root linked prims with explicit sit ↵Justin Clark-Casey (justincc)1-1/+1
targets." This reverts commit 78649eb0999a5f97cc541c94ec98d1d06ed957cb.
2013-11-23Revert "fix avatar rotation when sitting on a linked part"Justin Clark-Casey (justincc)1-1/+1
Reverting for now to place on separate branch This reverts commit 65304260af283211443a2872c46f6609d3e45649.
2013-11-23fix avatar rotation when sitting on a linked partJustin Clark-Casey (justincc)1-1/+1
Need to take into account rotation of linked prim now that we are always specifying sits wrt the root prim
2013-11-23Refix fix for sitting on non-root linked prims with explicit sit targets.Justin Clark-Casey (justincc)1-1/+1
I forgot that m_post is being set inconsistently between non-explicit and explicit ragets
2013-11-23Fix non-root prim sit positions for prims where a sit target has been ↵Justin Clark-Casey (justincc)1-1/+1
specified as well.
2013-11-23Add line accidentally left out of recent non-root prim sit fixJustin Clark-Casey (justincc)1-0/+2
Original commit is ff4e7de7
2013-11-23Still send CameraEyeOffset in UDP SendSitReponse even if at offset is ↵Justin Clark-Casey (justincc)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.
2013-11-23Fix false positive test failure in ↵Justin Clark-Casey (justincc)1-2/+2
TestRepeatSameDrawContainingImageReusingTexture() and TestRepeatSameDrawContainingImage() if localhost has a webserver set up. Use 0.0.0.0 instead of localhost
2013-11-23Fix issue where sitting on non-root linked prims would send camera to wrong ↵Justin Clark-Casey (justincc)2-3/+14
position in third-person and mouselook We now specify sits as offsets from the root prim, as the viewer expects.
2013-11-19Fix bug where "show modules" would accidentally list all the shared modules ↵Justin Clark-Casey (justincc)1-1/+1
again as "non-shared" Addresses http://opensimulator.org/mantis/view.php?id=6860
2013-11-16Add regression test to check that specifying a non-existent event raise a ↵Justin Clark-Casey (justincc)1-0/+9
syntax error This was the case before any of the recent changes
2013-11-16Add syntax checking for no_sensor() no-arg eventJustin Clark-Casey (justincc)2-4970/+4981
2013-11-16refactor common code out of no argument LSL event regression testsJustin Clark-Casey (justincc)1-14/+13
2013-11-16If anything other than a single integer is specified for events that only ↵Justin Clark-Casey (justincc)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
2013-11-16Make state_exit, moving_end, moving_start, not_at_rot_target, not_at_target ↵Justin Clark-Casey (justincc)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
2013-11-16refactor LSL_EventTests.TestStateEntryEvent into single method to test compileJustin Clark-Casey (justincc)1-14/+17
2013-11-15minor: Use default(UUID) in rez attachment failure error logging rather than ↵Justin Clark-Casey (justincc)1-1/+1
(UUID)null Patch from http://opensimulator.org/mantis/view.php?id=6843 Thanks Kira.
2013-11-15refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)18-33/+31
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-11-15If a local land ID is given to the "land show" command, then output to ↵Justin Clark-Casey (justincc)1-54/+126
console the full details of that parcel. Using "land show" without a land ID still outputs a summary of parcels in the region
2013-11-13Fix bug where removing a physical linkset would only decrement the Active ↵Justin Clark-Casey (justincc)2-2/+73
Objects statistic by 1 instead of by the number of prims removed. Unlike LL, OpenSimulator currently uses this stat to record the number of prims in the physics simulation, even when they are at rest. Added regression test for this case.
2013-11-09Add initial test for checking that specifying a parameter in LSL ↵Justin Clark-Casey (justincc)1-0/+64
state_entry() generates a syntax error. Same for other events to follow at a later date.
2013-11-05add support for particle glow LSL functionsdahlia1-0/+12
2013-11-05add support for particle blending LSL functionsdahlia1-1/+15
2013-11-06Added sending (for now hard-coded) sim isze in SendMapBlockSplit()Latif Khalifa1-0/+6