aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-12-18Fix locking for goodMelanie1-3/+3
2012-12-17BulletSim: apply friction to linear and angular motion before returning ↵Robert Adams3-14/+2
advanced motor value. This seems to be the problem with BulletSim vehicles turning too quickly. Also removed the configuration parameter that controlled the timestep scaling kludge for angular velocity that was added to research the question of quick turning.
2012-12-17Extend default 1 second wait for event completion to other thread script ↵Justin Clark-Casey (justincc)3-4/+33
reset (as called by llResetOtherScript()). As with script stop (via llDie()) aborting other scripts event threads, llResetOtherScript() can also abort any current event thread on another script. On mono 2.6, 2.10 and possibly later this may cause locking problems in certain code areas. This commit reuses the recently introduced [XEngine] WaitForEventCompletionOnScriptStop to make this a 1 sec timeout, rather than 0 secs.
2012-12-17BulletSim: fix vehicles going underground when unsat. Problem was that, when ↵Robert Adams4-29/+32
doing unsit, the order of operations on the prims and the vehicle is very chaotic and not in a good order so the root prim was being left physical and thus it fell for a bit. Also changed default of velocity scaling to be closer to the movement standard.
2012-12-16BulletSim: fix vehicles being shot in the air at border crossings because of ↵Robert Adams1-2/+5
mis-application of correction to postion for below groundness.
2012-12-16BulletSim: add parameter to UpdateProperties call into the linkset so ↵Robert Adams6-36/+65
changes from the physics engine can be differentiated from changes made by the user. This eliminates a linkset rebuild loop. Also add logic to not rebuild or freak out when the object/linkset crosses a terrain boundry.
2012-12-16BulletSim: add even more to the TODO list.Robert Adams1-4/+27
2012-12-16BulletSim: add check for border crossing in character position sanity check.Robert Adams1-2/+10
2012-12-16BulletSim: refactor to combine common terrain height testing code. Add ↵Robert Adams1-38/+48
function to test if a position is over known terrain.
2012-12-16BulletSim: experimentally remove unit displacement from prim border crossing ↵Robert Adams1-2/+13
test. This seems to cause border crossing to be sensed either a little early or a little late depending on which directin the object is moving. If border crossings become totally borked or someone remembers why this was displacement was done, revert this change.
2012-12-16BulletSim: remove some errors on shutdown by moving terrain destruction ↵Robert Adams2-3/+16
until after physical object destruction. TerrainManager also made disposable and that feature used.
2012-12-16BulletSim: rip out old code for linkset child position fetching. BulletSim ↵Robert Adams5-45/+31
doesn't need to do that bookkeeping because SOG/SOP already does it.
2012-12-17*TESTP unscripted sit: missing filesUbitUmarov2-0/+6
2012-12-17* TEST * unscripted sitUbitUmarov3-176/+244
2012-12-16Fix locking objectsMelanie1-1/+3
2012-12-15* Fix for Prim Locking. Prior to the merge, it was just a clone of the ↵teravus1-4/+4
root part to each of the child parts.
2012-12-15Make WebStatsModule properly handle scenes added or removed after initial ↵Justin Clark-Casey (justincc)1-14/+31
startup. This may have been the cause of the DivByZero in http://opensimulator.org/mantis/view.php?id=6460
2012-12-15minor: If the physics module tells us that an object has gone out of bounds, ↵Justin Clark-Casey (justincc)1-2/+5
more helpfully log the name, id, position and region of that object.
2012-12-14minor: Add commented out log lines to ScenePresenceAnimator for future debug ↵Justin Clark-Casey (justincc)1-1/+10
use (such as logging anim pack contents sent to clients)
2012-12-14Fix issue where calling llVolumeDetect(FALSE) would not remove phantom flag, ↵Justin Clark-Casey (justincc)2-2/+42
causing subsequent issues if physics was re-enabled. Added regression tests Addresses http://opensimulator.org/mantis/view.php?id=6365
2012-12-13BulletSim: Add more to the TODO list. Clean up and improve some comments.Robert Adams2-10/+9
2012-12-14Prevent a failed user relogi from throwing exceptions in poll servicesMelanie2-2/+2
2012-12-13Return the last set targetVelocity rather than the current velocity as the ↵Robert Adams1-5/+8
default action made available in PhysicsActor.TargetVelocity. Doesn't change any physics operation but makes DSG work better as the targetVelocity value does not keep moving around.
2012-12-13BulletSim: fix problem with continuious rebuilding of physical linksets. ↵Robert Adams3-79/+88
This caused movement problems and large prim vehicles to take up a LOT of simulation time.
2012-12-13BulletSim: correct line endings in new BulletSimData.cs file.Robert Adams1-282/+282
2012-12-13BulletSim: Add 'BulletSimData' which separates structures createdRobert Adams7-205/+308
for the operation of BulletSim and those defintiions/structures defined so they can be used in the unmanaged world. Consolidate setting of collision flags so implementation is not scattered.
2012-12-13BulletSim: remove extra linkset rebuilds.Robert Adams1-18/+36
2012-12-13minor: add some more detail to the logging if an LLClientView fails to ↵Justin Clark-Casey (justincc)1-2/+4
process a packet
2012-12-13Add WaitForEventCompletionOnScriptStop [XEngine] config param to ↵Justin Clark-Casey (justincc)1-10/+24
OpenSimDefaults.ini to allow change of the wait time for an event to complete on script removal before aborting its thread Default is 1000, as has previously been the case. This parameter exists for further debug work concerning mono 2.10 crashes that may be related to locks not being removed on Thread.Abort
2012-12-13Simplify sit code a bit by determining correct animation in HandleSit ↵Dan Lake1-30/+6
instead of HandleSitRequest. This eliminates m_nextSitAnimation, an unneeded state-saving variable in ScenePresence
2012-12-13right fix this time ??UbitUmarov1-1/+1
2012-12-13fix the 'fix'UbitUmarov1-2/+2
2012-12-13fix coment out code not in useUbitUmarov1-2/+2
2012-12-13 FIX small avatars movement on terrain. (avatar appearance getting evenUbitUmarov2-5/+39
more messy)
2012-12-13add a Check method to flotsamAssetCache, so to check if a asset is inUbitUmarov6-20/+150
cache without actually loading it. Make use limited use of it in avatarfactory textures check. Also on llclientview HandleAgentTextureCached that now should work. Other asset cache modules for now will return false, so are broken. baked textures logic still unchanged. *UNTESTED*
2012-12-13Fix sounds so that they play from inventory after teleport rather than only ↵Justin Clark-Casey (justincc)1-2/+2
on initial login region. Regression from commit ed162a10 (Fri Oct 5 13:50:12 2012) We had started listening for the client login event for attaching the sound trigger event rather than OnNewClient Addresses http://opensimulator.org/mantis/view.php?id=6453 Many thanks to danbanner for identifying the exact commit where this went wrong, which made identifying the fix easy.
2012-12-12BulletSim: fix problem of avatar's floating off the ground after unsitting. ↵Robert Adams4-24/+27
Reworked size/scale logic so physical scale is kept in Bullet and physObject scale is the preferred size -- usually same as size but avatars are computed differently.
2012-12-12BulletSim: non-functional commenting and reorganization of material ↵Robert Adams2-33/+49
attribute specifications.
2012-12-12BulletSim: updates and rearrangement of the TODO list.Robert Adams1-14/+33
2012-12-12Log situations where workitem event threads are aborted on stop request ↵Justin Clark-Casey (justincc)1-3/+3
because they failed to complete event processing within the given timeout. This is for bug hunting purposes where thread aborts may be causing dangling lock issues and subsequent vm crashes on mono (with ReaderWriterLockSlim, etc.)
2012-12-12Add "debug script log" command to allow setting a numeric debug level on ↵Justin Clark-Casey (justincc)3-13/+89
individual IScriptInstances for debugging purposes. Current, state changes and event fires can be logged for individual scripts. See command help for more details.
2012-12-12Add asset id to "show script" and "show scripts" command output to make it ↵Justin Clark-Casey (justincc)1-0/+1
easier to extract and inspect the script's asset via "dump asset"
2012-12-12BulletSim: do not return the current velocity for targetVelocity.Robert Adams1-0/+11
2012-12-11make ubitODE ignore X and Y rotation components on avatar rotationsUbitUmarov1-14/+37
2012-12-11BulletSim: fix crash caused by the creation of a linkset child that is under ↵Robert Adams1-4/+4
the terrain. Users can sure find some interesting corner conditions.
2012-12-11BulletSim: protect character property setting to remove crash from taints ↵Robert Adams2-21/+42
setting properties after the destroy character taint.
2012-12-11BulletSim: protect prim property setting to remove crash from taints setting ↵Robert Adams3-20/+45
properties after the destroy object taint has happened.
2012-12-11 changes on the fast speed avatars collider, collisions from above, etcUbitUmarov1-62/+64
2012-12-11 fix let other phys plugins work.. broken when added feetOffsetUbitUmarov3-13/+8
2012-12-11BulletSim: modify LIMIT_MOTOR_UP to limit BOAT types to be at water rather ↵Robert Adams1-2/+2
than ground level. This makes boats float at water level better but not perfectly. There probably needs to be some interaction between HOVER and LIMIT_MOTOR_UP.