aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
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 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-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-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()
2013-05-24Fix issue where llSetPayPrice on either one of a clone prim in the same ↵Justin Clark-Casey (justincc)1-0/+2
OpenSimulator session would change the prices on both prims. This is because the PayPrice array refernence was being memberwise cloned and not the array itself. Addresses http://opensimulator.org/mantis/view.php?id=6639
2013-05-23Fix bug where a cloned object would report the wrong llGetNumberOfPrims() ↵Justin Clark-Casey (justincc)1-0/+1
when avatars had been sitting on the original and a different avatar sat on the copy within the same opensim session. This was because the sitting avatars list was being cloned rather than reset. Addresses http://opensimulator.org/mantis/view.php?id=6649
2013-05-23add decoder for bounding convex hulldahlia1-4/+53
2013-05-23Fix bug where both ordinary UserManagementModule and HGUserManagementModules ↵Justin Clark-Casey (justincc)1-1/+1
were being added to scenes if no UserManagementModule was specified. Without explicit config non-hg UMM is used - this is in common with other HG modules. This was causing a non-HG module to unpredictably use the UMM or HGUMM, though lack of bug reports suggest either UMM was always used or it didn't matter in this case.
2013-05-23Add DEBUG level logging in Meshmerizer for mesh parsing. There isRobert Adams1-2/+25
a compile time variable to turn this logging off if it is too spammy.
2013-05-23BulletSim: add locking around Meshmerizer use to eliminate possible raceRobert Adams1-145/+157
condition when extracting the convex hulls.
2013-05-22BulletSim: correct errors caused by misspelled INI parameter spec.Robert Adams2-4/+7
Add debugging messages for hull asset use.
2013-05-22BulletSim: add code to experimentally use asset hull data.Robert Adams2-4/+54
Default to 'off' as it needs debugging.
2013-05-22BulletSim: fix problem with walking up stairs that are orientedRobert Adams1-2/+9
in certain directions. The problem was really that the avatar capsule orientation was being set incorrectly.
2013-05-22Implement llSetSoundQueueing().Justin Clark-Casey (justincc)4-6/+33
This is controlled by the viewer, not the server. So as per http://wiki.secondlife.com/wiki/LlSetSoundQueueing, only two sounds can be queued per prim. You probably need to use llPreloadSound() for best results
2013-05-21Revert "BulletSim: add code to experimentally use asset hull data."Robert Adams2-54/+4
This reverts commit 2fd8819a043269f9308cb46c71893e6eb35a426e. Remove this code until I can figure out why the references that are clearly in prebuild.xml doesn't work for the 'using OpenSim.Region.Physics.Meshing' in BSShape.cs.
2013-05-21BulletSim: add code to experimentally use asset hull data.Robert Adams2-4/+54
Default to 'off' as it needs debugging.
2013-05-21BulletSim: add gImpact shape type. Add logic to use gImpact shapeRobert Adams7-14/+167
for prims that have cuts or holes. Default logic to 'off' as it needs debugging.
2013-05-21To further help with tracking down the apperance of too much "Unknown User" ↵Justin Clark-Casey (justincc)4-6/+6
in chatlogs, etc. temporarily change each instance of this in OpenSimulator so we can identify where it's coming from For instance, the "Unknown User" in Util.ParseUniversalUserIdenitifer becaomes "Unknown UserUPUUI (class initials + method initials) This is to help with http://opensimulator.org/mantis/view.php?id=6625
2013-05-21Fix compile failure from recent git master 434c3cfJustin Clark-Casey (justincc)1-1/+1