aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-06-06Database persistence for keyframes. Contains a Migration.Melanie2-4/+32
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 throttlingMelanie2-52/+321
2013-06-05Prevent processing for NpcBlueWall1-1/+3
2013-06-05CleanupBlueWall1-5/+0
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-02Fix llTeleportAgentGlobalCoordsMelanie1-11/+16
2013-06-02Unsit seated avatars when an object is deletedMelanie1-0/+8
2013-06-02Implement PERMISSION_TELEPORT and the needed checks to make it work.Melanie2-7/+19
Old auth system still works as well.
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 standard OpenSim header to source filesBlueWall8-0/+216
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-31Fix multi-wear of alpha and tattoo layers.Melanie3-6/+6
2013-05-31Stop sending velocity to avoid snap-backMelanie1-1/+1
2013-05-31refactor: Remove unused AsyncCommandManager.PleaseShutdownJustin Clark-Casey (justincc)1-19/+1
2013-05-31Fill in fields with default values on profile creationBlueWall1-2/+48
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 Adams3-0/+156
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-30UserProfilesBlueWall13-176/+3631
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-26Allow Linden trees to preserve their type when taken into inventory and ↵Melanie3-4/+20
rezzed again. Allow Linden trees to be sensed by LLSensor as PASSIVE objects.
2013-05-25Update the money framework to allow sending the new style linden "serverside ↵Melanie9-44/+32
is now viewerside" messages regarding currency This will require all money modules to be refactored!
2013-05-25Update the money framework to allow sending the new style linden "serverside ↵Melanie9-44/+32
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.
2013-05-24Protect one more update of the baked texture hashes.Mic Bowman1-2/+5
2013-05-24This is an experimental patch that adds support for comparing textureMic Bowman5-84/+147
hashes for the purpose of accurately responding to AgentTextureCached packets. There is a change to IClientAPI to report the wearbles hashes that come in through the SetAppearance packet. Added storage of the texture hashes in the appearance. While these are added to the Pack/Unpack (with support for missing values) routines (which means Simian will store them properly), they are not currently persisted in Robust.
2013-05-24change a hull debugging message to Debug instead of Infodahlia1-1/+1
2013-05-24correct some errors in decoding of mesh asset convex decomposition datadahlia1-53/+83
2013-05-24minor: Remove unnecessary duplication of AbsolutePosition Vector3 in SOG.Copy()Justin Clark-Casey (justincc)1-1/+0
As a struct, Vector3 has already been cloned by MemberwiseClone()