aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-03-26BulletSim: prevent asset fetching loop when the fetched asset fails to mesh.Robert Adams1-52/+64
Check for the case where the fetched mesh asset fails meshing (degenerate triangles or no physical mesh). In this case, the asset is marked 'failed' and BulletSim doesn't keep trying to fetch over-and-over trying to get a good asset.
2013-03-26Make llGetLinkPrimitiveParams() and llGetPrimitiveParams() work for avatars ↵Justin Clark-Casey (justincc)1-30/+194
in a linkset. llGetPrimitiveParams() works through PRIM_LINK_TARGET Setting via llSetLinkPrimitiveParams(), etc. not yet implemented
2013-03-26Implement a pref to turn on the simulator ExportSupported feature entry.Melanie1-0/+6
This tells the viewer to enable the UI for export permissions. WARNING: If your inventory store contains invalid flags data, this will result in items becoming exportable! Don't turn this on in production until it's complete!
2013-03-26Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie21-16/+40
with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions"
2013-03-25BulletSim: new algorithm for vertical attraction which uses quaternionRobert Adams1-3/+45
arithmetic to compute the shortest path between the current tilt and vertical.
2013-03-25BulletSim: small tweaks and formatting in the parameter fetching code.Robert Adams1-5/+16
2013-03-25BulletSim: fix possible race condition where an prim's asset can be ↵Robert Adams3-11/+24
requested quicker than the asset fetcher returns and thus falsely reporting that an asset was not fetched and defaulting the assset to a bounding box.
2013-03-25BulletSim: parameterize C# HACD hull creation. Add feature of reducing max ↵Robert Adams2-14/+74
hull count for simple (non-cut prims) meshes.
2013-03-25Start recording inter-region teleport attempts, aborts, cancels and failures ↵Justin Clark-Casey (justincc)1-10/+109
in statistics for monitoring/debugging purposes These are recorded as 'entitytransfer' stats as seen by the "show stats entitytransfer" console command.
2013-03-23Fix teleporting into the non-SW 256x256 corner of a megaregion, though ↵Justin Clark-Casey (justincc)1-0/+7
currently with a 10 second delay before auto-reteleport to the correct location. This now does a check for border crossing (required to trigger the teleport) immediately in SP.MakeRootAgent(). If left any later, it looks like the physics scene changes the position and stops the cross happening. If done any earlier, nothing happens because the cross-code currently requires a PhysicsActor to be in place, thuogh it's probably not necessary for this case.
2013-03-23Add "show borders" command to show the borders of a region.Justin Clark-Casey (justincc)6-11/+54
This is relevant to mega-regions where the borders are very different to a regular region. Also adds some method doc and other code comments.
2013-03-22Following on from 476a7d3e (which wasn't enough), make chat across regions ↵Justin Clark-Casey (justincc)1-56/+31
on different simulators work. Also resolves an issue of multiple chatting if the originating simulators had more than one region and they were neighbours
2013-03-22Take out a testing sleep I accidentally left in the teleport code from last ↵Justin Clark-Casey (justincc)1-2/+0
commit 7471bc7
2013-03-22At strategic points in the teleport process, if the client has ↵Justin Clark-Casey (justincc)2-10/+69
simultaneously logged out then do not continue. This aims to reduce any side effects if the process tries to complete after the client has logged back in (e.g. it was delayed due to a slow destination region response). This introduces a new Aborting entity transfer state which signals that the teleport should be stopped but no compensating actions performed.
2013-03-22Implement chat across region borders since we can tell if avatars in ↵Justin Clark-Casey (justincc)1-1/+1
neighbouring regions are in range.
2013-03-21minor: On teleport, signal a child agent before we send the viewer ↵Justin Clark-Casey (justincc)1-5/+5
TeleportFinish in order to avoid a theoretical race condition when teleporting to a neighbour. If we do this after TeleportFinish, then it's possible for a neighbour destination to request the source to create a child agent whilst its still treated as root. This closes the original presence which we don't really want to do. This is probably okay (albeit with warnings on the console) but afaics there's no reason not to move the child agent signal.
2013-03-21On a teleport, lock m_agentsInTransit whilst we grab the value to check for ↵Justin Clark-Casey (justincc)2-5/+12
completion just to be sure we're not using a thread cached version.
2013-03-20minor: disable logging on regression TestCrossOnSameSimulator() that I ↵Justin Clark-Casey (justincc)1-1/+1
accidentally left on a few commits ago.
2013-03-20minor: don't bother with the pause before rezzing attachments if we are ↵Justin Clark-Casey (justincc)1-1/+15
running regression tests (fire and forget calls launched on the same thread). Also adds code comments as to why this pause exists.
2013-03-20On the later forms of teleport failure, tell the user if this was because ↵Justin Clark-Casey (justincc)4-40/+150
viewer couldn't/didn't connect with destination or if destination didn't signal teleport completion. Also adds regression test for the case where the viewer couldn't connect with the destination region. Also refactoring of regression test support code associated with entity transfer in order to make this test possible and the code less obscure.
2013-03-20Insert a short delay on the simulator side rezzing of attachments in order ↵Justin Clark-Casey (justincc)1-1/+1
to fix viewer 3 issues if its own rezzing actions on login collide with the simulator side actions. This resolves issues (at least in my tests with LL 3.3.4) where this can make attachments invisible until one zooms in on the avatar. This doesn't affect version 1 viewers since this delay is shorter than the login delay. This doesn't increase the login time since this part of the process was already being performed asynchronously. This may be a temporary solution.
2013-03-20Fix "show attachments" command probably broken in commit addab12 (Wed Jan 2 ↵Justin Clark-Casey (justincc)1-10/+7
21:38:00 2013) This break was not connected with the recent attachment code changes.
2013-03-20Force a viewer object update for attachments at the end of the final ↵Justin Clark-Casey (justincc)1-0/+9
Scene.CompleteMovement() in order to make all multi-attachments appear on the destination region. For some reason, sending updates before this will not have this effect. This may be something related to some viewers (e.g. LL 3.3.4) or something OpenSimulator isn't getting quite right.
2013-03-19BulletSim: change 'degenerate mesh' message from Error to Debug because thereRobert Adams1-1/+1
seem to be lots of sculpties with this problem while the condition really doesn't change region operation.
2013-03-19Prevent multiple instances of the same item ID being appended to an ↵Justin Clark-Casey (justincc)2-4/+12
AvatarAppearance It looks like this was happening when AttachmentsModule.RezAttachments was doing a secondary set of each attachment to update with the asset ID (initially they only have the inventory ID). However, with multi-attach this was appending a second copy of the same attachment rather than updating the data that was already there. This commit requires both simulator and service to be updated.
2013-03-19For those people collecting and comparing logfiles from servers scatteredRobert Adams1-1/+1
around the world, change LogWriter to use DateTime.UtcNow rather than DateTime.Now.
2013-03-19BulletSim: code to generate a higher resolution terrain mesh. ParameterRobert Adams4-18/+189
TerrainMeshMagnification controls number of vertices generated per heightmap point. Default is 3.
2013-03-19BulletSim: add terrain contact processing threshold parameter. Initialize ↵Robert Adams4-1/+23
contact processing threshold for static object as well as mesh terrain.
2013-03-19Process default attachment point in AttachObjectInternal before we check ↵Justin Clark-Casey (justincc)1-27/+27
whether a worn object needs to displace an existing attachment on the same point if we are not using multi-attach.
2013-03-18Fix tests for multiattachMelanie2-6/+6
2013-03-18Limit each attachment point to 5 items as per specMelanie1-3/+13
2013-03-18Multiattach, part 1Melanie6-38/+36
Conflicts: OpenSim/Framework/AvatarAppearance.cs OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs OpenSim/Region/Framework/Scenes/Scene.cs OpenSim/Region/OptionalModules/Avatar/Attachments/TempAttachmentsModule.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
2013-03-18Improve rejection of any attempt to reattach an object that is already attached.Justin Clark-Casey (justincc)2-31/+194
This also adds/extends regression tests for wearing attachments directly for the scene and attempting to reattach/rewear already attached objects.
2013-03-18Fix recent regression where an item worn to an attachment point that was ↵Justin Clark-Casey (justincc)2-89/+153
already occupied did not remove the previous attachment (current behaviour) Regression was commit ccd6f4 (Tue Mar 5 23:47:36 2013) Added regression test for this case.
2013-03-16BulletSim: add INI parameter for angular banking timescale fudge parameter.Robert Adams2-7/+12
2013-03-16BulletSim: Working Implementation of Angular Banking for Vehicles (Not SL ↵Vegaslon1-16/+17
Grade, Other features when implemented should slow it down for now be Strong with Vertical Angular attraction setting and conservative with Angular Velocity on X axis) Signed-off-by: Robert Adams <Robert.Adams@intel.com>
2013-03-15Make the LSL memory functions virtual so script engines can override them if ↵Melanie1-3/+3
they have different memory management.
2013-03-15BulletSim: Tweak vertical angular attraction to remove double ↵Vegaslon1-1/+1
VehicleOrientation application fixing the problem with the vertical attractor pushing vehicles nose first into ground when tilted on side. Signed-off-by: Robert Adams <Robert.Adams@intel.com>
2013-03-15Fix server statistics always reporting zero for total network bytes in/out.Robert Adams2-34/+58
Clean up some parameter code in Statistics.Binary.
2013-03-15Add example code to DOExampleModule to pull data from that previously saved ↵Justin Clark-Casey (justincc)2-5/+29
by DAExampleModule when instantiating a dynamc object.
2013-03-15Add ParentGroup.HasGroupChanged = true setting to DAExampleModule as this is ↵Justin Clark-Casey (justincc)1-0/+2
necessary to get attributes to save (though this probably happens anyway due to the prim move)
2013-03-15refactor: make llGetLinkName() and llGetLinkKey() use a common ↵Justin Clark-Casey (justincc)1-84/+80
GetLinkEntity() method
2013-03-14minor: remove mono compiler warnings in LSL_Api.csJustin Clark-Casey (justincc)1-3/+3
2013-03-14Log same environment information to Robust log as is already done for ↵Justin Clark-Casey (justincc)2-4/+1
simulator logs, for debug purposes
2013-03-14refactor: minor cleanup in osGetAvatarList()Justin Clark-Casey (justincc)1-2/+1
2013-03-14Fix bug in osCauseHealing() if called with an avatar ID for an avatar that ↵Justin Clark-Casey (justincc)1-13/+9
is not in the scene.
2013-03-14minor: Use more compact libomv primitive constructors in osNpcGetPos() and ↵Justin Clark-Casey (justincc)1-6/+3
osNpcGetRot()
2013-03-14Fix minor race conditions in OSSL_Api functions where a parcel could be ↵Justin Clark-Casey (justincc)1-6/+4
misidentified for moving prims.
2013-03-14refactor: Use LSL_Vector(Vector3) constructor in llCastRay()Justin Clark-Casey (justincc)1-1/+1
2013-03-14refactor: Use ILandChannel.GetLandObject(Vector3) in LSL_Api rather than ↵Justin Clark-Casey (justincc)1-41/+21
having to continually take intermediate Vector3s to avoid race conditions