aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-06-10add a Normalize() method for LSL_Rotationdahlia1-0/+25
2013-06-10Fix test for adding temporary assets. Code for non-local temporary assetsMic Bowman1-0/+20
is there but commented out.
2013-06-10BulletSim: add failure flag for meshing failure vs asset fetch failureRobert Adams4-34/+51
so error messages make more sense. Change some BulletSim status log messages from WARN to INFO. Update TODO list.
2013-06-10Remove Temporary from use to shortcut asset stores. The Local propertyMic Bowman2-2/+2
differentiates between local & grid storage. The Temporary property just says that which service handles the it, the asset can be safely removed in the future.
2013-06-10Mantis 5346: llAxisAngle2Rot() should normalize before computingTalun1-0/+1
Corrected to agree with http://wiki.secondlife.com/wiki/Llaxisangle2rot#Deep_Notes to normalise the vector before computing the quaternion Signed-off-by: dahlia <dahlia@nomail>
2013-06-08Catch exception triggered by incoming avatars using legacy profilesBlueWall1-1/+10
2013-06-07SQLite support for UserProfilesBlueWall1-0/+1
2013-06-07Ensure selected module is the only active oneBlueWall1-0/+3
2013-06-07Put the configuration back in FetchInventoryDesc2 cap.Diva Canto1-0/+29
2013-06-07Supply proper type information for the various types of requestsMelanie2-6/+7
2013-06-07Adding Avination's PollService to round out the HTTP inventory changesMelanie3-8/+8
2013-06-07minor: Comment out debug logging (at warn level) about number of objects ↵Justin Clark-Casey (justincc)1-1/+1
force selected and turn down to debug level
2013-06-07Fix regression where multiple close agents could be sent to the wrong ↵Justin Clark-Casey (justincc)1-1/+6
neighbour region on root agent close. This was introduced in git master d214e2d0 (Thu May 16 17:12:02 2013) Caught out by the fact that value types used in iterators act like references and this was dispatched asynchronously. Should address http://opensimulator.org/mantis/view.php?id=6658
2013-06-07In LocalFriendshipTerminated, send the original client's agentId to the ↵Donnie Roberts2-4/+4
friend being removed instead of the friend's own id.
2013-06-06Fix keyframe motion copyrightMelanie1-3/+26
2013-06-05Strengthen some assumptions.Diva Canto1-0/+5
2013-06-06Hook up Keyframe motion to almost everything. Failing to cross a sim borderMelanie11-0/+229
may yield unexpected results in some cases. No database persistence yet,
2013-06-06Committing Avination's Keyframe module. This is not hooked up yet and will ↵Melanie1-0/+766
do nothing. More commits to follow.
2013-06-05Port Avination's inventory send throttlingMelanie1-52/+213
2013-06-05Prevent processing for NpcBlueWall1-1/+3
2013-06-05Avoid a deadlock where a script can attempt to take a ↵Justin Clark-Casey (justincc)1-11/+21
ScriptInstance.m_Scripts lock then a lock on SP.m_attachments whilst SP.MakeRootAgent() attempts to take in the opposite order. This is because scripts (at least on XEngine) start unsuspended - deceptively the ResumeScripts() calls in various places in the code are actually completely redundant (and useless). The solution chosen here is to use a copy of the SP attachments and not have the list locked whilst creating the scripts when an avatar enters the region. This looks to address http://opensimulator.org/mantis/view.php?id=6557
2013-06-05Remove a couple of orphaned linesBlueWall1-3/+0
2013-06-05Make locking more uniformBlueWall1-14/+19
2013-06-05BulletSim: default PhysicsTimeStep to same as the simulator'sRobert Adams1-1/+1
heartbeat timestep when running the physics engine on a separate thread. This reduces the occurance of heartbeats that happen when there is no physics step which is seen as vehicle jerkyness.
2013-06-05BulletSim: fix corner case when rebuilding a compound linkset whileRobert Adams1-11/+46
a mesh/hull while a mesh or hull is being rebuilt when its asset is fetched. This fixes a 'pure virtual function' crash when changing physical state of complex linksets that include many meshes.
2013-06-01BulletSim: experimental movement of physics execution off of heartbeatRobert Adams3-73/+209
thread. Off by default until more testing. Setting "[BulletSim]UseSeparatePhysicsThread=true" causes the physics engine to be called on its own thread and the heartbeat thread only handles the reporting of property updates and collisions. Physics frame rate is about right but physics execution time goes to zero as accounted by the heartbeat loop.
2013-05-31Adding back the BasicProfileModuleBlueWall2-73/+191
2013-05-31Remove unnecessary m_scenes and m_scene from AsyncCommandManager.Justin Clark-Casey (justincc)1-6/+1
These were private and the sole point of use (to know when to load config for the first time) can be done by looking at script engines instead.
2013-05-31Lock areas of AsyncCommandManager where multiple threads could try to ↵Justin Clark-Casey (justincc)1-111/+177
access/update the same static structures simultaneously. This is possible where there is more than one scene (multiple copies of the same script engine) and/or more than one script engine being used. These operations are not thread safe and could be leading to the exceptions/problems seen in http://opensimulator.org/mantis/view.php?id=6651 This also prevents a small race condition where more than one AsyncLSLCmdHandlerThread could be started.
2013-05-31refactor: Remove unused AsyncCommandManager.PleaseShutdownJustin Clark-Casey (justincc)1-19/+1
2013-05-30Trigger OnScenePresenceUpdated when the avatar's animations change.Robert Adams2-4/+21
2013-05-30Add methods to Animation and AnimationSet for easier manipulation andRobert Adams2-0/+136
display of groups of animations (Equal(), ToString(), FromOSDArray(), ...). No functional change to animations.
2013-05-30Add region heartbeat start event to complement heartbeat end event.Robert Adams2-0/+25
This allows object modification before the usual heartbeat operation.
2013-05-30If an exception occurs in the AsyncCommandManager loop, spit it out to log ↵Justin Clark-Casey (justincc)1-8/+6
rather than silently swallowing it. This might help diagnose the cause of http://opensimulator.org/mantis/view.php?id=6651 where sometimes scripts fail to start on region start.
2013-05-30UserProfilesBlueWall4-176/+1613
UserProfiles for Robust and Standalone. Includes service and connectors for Robust and standalone opensim plus matching region module.
2013-05-30minor: fix warnings in GodsModule that were due to duplicate using statementsJustin Clark-Casey (justincc)1-11/+7
2013-05-30Fix passing of voice distance attenuation to the Vivox voice server.Justin Clark-Casey (justincc)1-1/+1
Because of a typo, this wasn't being done at all - now the 'default' value as described in OpenSimDefaults.ini of 10m is passed (vivox_channel_clamping_distance) Thanks to Ai Austin for spotting this.
2013-05-30If on a sit request we sit the avatar on a different prim in a linkset for ↵Justin Clark-Casey (justincc)1-3/+3
some reason (e.g. because it has a sit target), then send the actual sit prim UUID to the viewer rather than the requested one. This purports to fix the issue described in http://opensimulator.org/mantis/view.php?id=6653 where the camera can end up following the requested sit prim rather than the actual. The original spot was by Vegaslon, this commit just goes about it in a slightly different way This commit also makes m_requestedSitTargetUUID to be the actual UUID, which is consistent with m_requestedSitTargetID which was already doing this. However, this adjustment has no practical effect since we only currently need to know that there's any requested sit UUID at all, not which one it is.
2013-05-29Try caching the user name for a new agent earlier on in the process of ↵Justin Clark-Casey (justincc)3-5/+11
establishing a connection, to see if this helps with "Unknown UserUMMTGUN" issues. The UMMTGUN form of Unknown User seems to appear because a viewer sometimes sends a UUIDNameRequest UDP request that fails to find a binding. However, in theory the incoming agent should have made that binding before any such request is triggered. So moving this binding to an earlier point in the process to see if this makes a difference. Unknown user name is also updated to UserUMMTGUN2 - if you see the old name then you need to clear your viewer cache. This relates to http://opensimulator.org/mantis/view.php?id=6625
2013-05-29Add HG regression TestCachedUserNameForNewAgent()Justin Clark-Casey (justincc)1-0/+76
2013-05-28First change in Vivox for ages! -- added a lock to serialize calls to vivox ↵Diva Canto1-14/+25
servers. This may ameliorate things when lots of avies arrive in a sim at about the same time. Turns out that there are 4 http requests per avie to Vivox.
2013-05-28BulletSim: don't zero motion when changing vehicle type.Robert Adams1-1/+4
Some vehicle scripts change type on the fly as an easy way of setting all the parameters (like a plane changing to a car when on the ground).
2013-05-27BulletSim: default using mesh asset hulls to 'true'. This means that,Robert Adams1-2/+2
if the mesh asset specifies physics hulls, BulletSim will fetch and use same rather than approximating the hulls. If physics hulls are not specified, the representation will fall back to the regular physics mesh.
2013-05-26BulletSim: enable GImpact shape for prims with cuts. Include DLLs and SOsRobert Adams1-1/+1
which recompute GImpact shape bounding box after creation as Bullet doesn't do that itself (something it does for nearly every other shape). Now, physical prims without cuts become single mesh convex meshes. Physical prims with cuts become GImpact meshes. Meshes become a set of convex hulls approximated from the mesh unless the hulls are specified in the mesh asset data. The use of GImpact shapes should make some mechanical physics more stable.
2013-05-25Update the money framework to allow sending the new style linden "serverside ↵Melanie5-33/+26
is now viewerside" messages regarding currency This will require all money modules to be refactored!
2013-05-24Meshmerizer: remember to add the copied hull verts to the list of hulls.Robert Adams1-0/+1
2013-05-24BulletSim: add VehicleInertiaFactor to allow modifying inertia.Robert Adams2-1/+5
Another parameter for vehicle operation tuning. Default to <1,1,1> which means nothing is different under normal use.
2013-05-24BulletSim: properly set mesh hash key in use tracking structure.Robert Adams1-1/+4
Shouldn't see any functional difference.
2013-05-24Meshmerizer: add INI parameter to enable DEBUG mesh detail logging.Robert Adams1-3/+6
Default to off. To turn mesh parsing DEBUG detail logging on, add [Mesh] LogMeshDetail=true to the INI file.
2013-05-24One more appearance change: drop sending the SendAppearance packetMic Bowman1-1/+3
to avatar when it becomes root. This packet shows up in the viewer logs as an error and appears to cause problems for completing the texture rebake process for v1 viewers in some cases.