Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mantis 60004 problems with damage and llSetDamage. In damage enabled areas ↵ | Talun | 2012-05-04 | 1 | -7/+46 |
| | | | | this patch - Deletes any objects that have damage set > 0 that deliver that damage to an avatar Stops Gods receiving damage, Stops volume detect objects causing damage Deletes NPCS when their helth reduces to zero Gradually "heals" damage to an avatar Resets health on going to a non damage area | ||||
* | Reinsert a 2000ms delay before closing a no longer required agent on the ↵ | Justin Clark-Casey (justincc) | 2012-05-03 | 1 | -4/+10 |
| | | | | | | | | | source region after teleport to resolve Imprudence teleport problems. Viewers 1 and 3 are fine with doing this immediately. However, Imprudence has a small delay (<200ms, >500ms) after receiving the AgentCompleteMovement reply packet on the destination region before regarding that region as the currnet region. If Imprudence receives a DisableSimulator in this period, it quits. We are not restoring the full 5000ms delay since this brings back a bug where teleports permanently fail if an avatar tries to teleport back too quickly. This commit also sends the AgentCompleteMovement packet to the client before telling the source region to release its old agent, in order to further cut down any possibility of the DisableSimulator being recieved before the AgentMovementComplete. | ||||
* | Implement optional name and description on http stream handlers so that we ↵ | Justin Clark-Casey (justincc) | 2012-05-03 | 1 | -3/+6 |
| | | | | | | can relate a slow request to what the handler actually does and the agent it serves, if applicable. This is most useful for capabilities where the url is not self-describing. | ||||
* | Add regression test for teleporting between neighbouring regions on the same ↵ | Justin Clark-Casey (justincc) | 2012-05-01 | 3 | -10/+109 |
| | | | | | | | simulator This adds a non-advertised wait_for_callback option in [EntityTransfer]. Default is always true. Teleport tests disable the wait for callback from the destination region in order to run within a single thread. | ||||
* | Create TestHelpers.EnableLogging() and DisableLogging() to turn logging on ↵ | Justin Clark-Casey (justincc) | 2012-04-30 | 3 | -4/+9 |
| | | | | | | and off within tests. This makes *.Tests.dll.config files no longer needed, hence deleted. | ||||
* | refactor: Simplify by combining SafeSendControlsToScripts() from fe8e835 ↵ | Justin Clark-Casey (justincc) | 2012-04-30 | 1 | -73/+75 |
| | | | | into SendControlsToScripts() (instead of SendControlToScripts()). | ||||
* | Fixed: scripted controls didn't work if the avatar was sitting down | Oren Hurvitz | 2012-04-30 | 1 | -9/+15 |
| | | | | This fixes a bug introduced in 6473674bbf6ce006512083902e8ff1796d8c8b22 | ||||
* | Comment out debug [ASYNC DELETER] messages for now. | Justin Clark-Casey (justincc) | 2012-04-28 | 1 | -5/+5 |
| | |||||
* | Fixed: custom walking animations didn't stop when the avatar stopped walking. | Oren Hurvitz | 2012-04-27 | 2 | -20/+32 |
| | | | | | | This happened because the scripts were notified about control changes (e.g., the user stopped pressing the Forward key) when the animation was still WALK, so the script didn't stop the walking animation. Fixing this required: a) Update the movement animation *before* notifying the script; b) Add locking to prevent clashes with the Heartbeat thread (which also updates the animations); c) Handle the case of a user who stops walking just as the avatar is in the air: the avatar should STAND in that case, not WALK. This reverts commit feef1dd73243cfdd5322632fb67e64cabc1ad4bc. | ||||
* | If a Grid God teleports then include the Godlike teleport flag. This can ↵ | Oren Hurvitz | 2012-04-27 | 1 | -0/+17 |
| | | | | affect the starting position in the destination region. | ||||
* | Add regression test for teleporting an agent between separated regions on ↵ | Justin Clark-Casey (justincc) | 2012-04-27 | 20 | -173/+92 |
| | | | | | | | | the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future. | ||||
* | Tweak log messages on local region to region teleport path to help with ↵ | Justin Clark-Casey (justincc) | 2012-04-26 | 1 | -1/+4 |
| | | | | problem resolution. | ||||
* | Comment out old Scene.HandleLogOffUserFromGrid() to reduce client closing ↵ | Justin Clark-Casey (justincc) | 2012-04-26 | 1 | -35/+35 |
| | | | | analysis complexity | ||||
* | minor: Add avatar name to removing agent log message | Justin Clark-Casey (justincc) | 2012-04-26 | 1 | -2/+2 |
| | |||||
* | Comment out avatar move to target message for now. | Justin Clark-Casey (justincc) | 2012-04-25 | 1 | -3/+3 |
| | |||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Mic Bowman | 2012-04-25 | 1 | -2/+40 |
|\ | |||||
| * | Port Avination link order to make OpenSim behave like SL. Make Primstar ↵ | Melanie | 2012-04-25 | 1 | -2/+40 |
| | | | | | | | | scripts work. Fixes Mantis #5990 | ||||
* | | Add a configuration switch to turn on/off the use of the trash | Mic Bowman | 2012-04-25 | 2 | -1/+3 |
|/ | | | | | | | | | folder when deleting objects from a scene. The use of the trash folder causes assets to be created and stored everytime you delete an object from the scene (slows down the delete and adds mostly useless assets to your database). Default is on (use the trash folder) which is the standard behavior. | ||||
* | Commit the avination Teleport() methods (adaptedto justincc's changes) | Melanie | 2012-04-25 | 1 | -1/+12 |
| | |||||
* | refactor: Combine ScenePresence.Teleport() and TeleportWithMomentum() | Justin Clark-Casey (justincc) | 2012-04-25 | 1 | -16/+0 |
| | | | | These are identical apart from setting Velocity = zero, which has no practical effect anyway since this is zeroed when the avatar is added back to the physics scene. | ||||
* | Add regression test TestSameRegionTeleport() | Justin Clark-Casey (justincc) | 2012-04-25 | 2 | -0/+42 |
| | |||||
* | Mantis 5977 Corrections to llRegionSayTo | Talun | 2012-04-23 | 1 | -3/+23 |
| | | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com> | ||||
* | Make TestSetPhysicsSinglePrim() actually add the object to the scene in ↵ | Justin Clark-Casey (justincc) | 2012-04-22 | 1 | -0/+2 |
| | | | | order to test more code paths. | ||||
* | Fix bug where setting phantom on a prim would result in a server log message ↵ | Justin Clark-Casey (justincc) | 2012-04-22 | 3 | -12/+13 |
| | | | | | | | | rather than setting phantom. This was an oversight when removing some race conditions from PhysicsActor setting recently. Regression tests extended to probe this code path. Extending regression tests required implementation of a BasicPhysicsPrim (there was none before). However, BasicPhysics plugin is still of no current practical use other than to fill in as a component for other parts of regression testing. | ||||
* | Add test for setting physics in a linkset | Justin Clark-Casey (justincc) | 2012-04-21 | 1 | -2/+28 |
| | |||||
* | Add regression test for prim status when root prim in a new linkset is ↵ | Justin Clark-Casey (justincc) | 2012-04-21 | 2 | -1/+20 |
| | | | | non-physical | ||||
* | Fix a bug where linking a non-physical prim with a physical prim as root ↵ | Justin Clark-Casey (justincc) | 2012-04-21 | 2 | -0/+22 |
| | | | | | | | | would make the non-physical prim phantom rather than part of the physics object. On region restart, the whole object would become physical as expected. Observed behaviour from elsewhere is that all prims in a new linkset should take on the status of the root prim. Add regression test for this behaviour. | ||||
* | Add test for correct physics status on linking two physics objects | Justin Clark-Casey (justincc) | 2012-04-21 | 1 | -2/+26 |
| | | | | Also fixes last build break. | ||||
* | refactor: extract common setup code in SceneObjectStatusTests | Justin Clark-Casey (justincc) | 2012-04-21 | 1 | -10/+16 |
| | |||||
* | Add TestSetPhysics() to SOP status tests | Justin Clark-Casey (justincc) | 2012-04-21 | 2 | -3/+26 |
| | |||||
* | minor: Add some method doc. Add warnings since calling SOG link/delink ↵ | Justin Clark-Casey (justincc) | 2012-04-17 | 2 | -0/+22 |
| | | | | methods directly rather than through Scene may allow race conditions. | ||||
* | Add TestGetChildPartPositionAfterObjectRotation() | Justin Clark-Casey (justincc) | 2012-04-17 | 1 | -1/+37 |
| | |||||
* | Add test TestGetChildPartPosition() | Justin Clark-Casey (justincc) | 2012-04-17 | 1 | -0/+28 |
| | |||||
* | refactor: Rename EstateSettings.IsEstateManager() to ↵ | Justin Clark-Casey (justincc) | 2012-04-17 | 1 | -3/+3 |
| | | | | | | | EstateSettings.IsEstateManagerOrOwner() to reflect what it actually does. This makes it consistent with other parts of OpenSimulator that are treating ESTATE_MANAGER and ESTATE_OWNER as different entities. As per opensim-dev mailing list. | ||||
* | Add GroupPosition and GetWorldPosition() checks to TestGetRootPartPosition() | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -1/+3 |
| | |||||
* | minor: make test names consistent | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -1/+1 |
| | |||||
* | refactor: move common init code into SetUp() in SceneObjectSpatialTests | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -8/+13 |
| | |||||
* | refactor: put SOG position test in a separate TestSceneObjectGroupPosition() | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -1/+17 |
| | |||||
* | Add simple RelativePosition and OffsetPosition checks to TestGetRootPartPosition | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -0/+2 |
| | |||||
* | Add very basic TestGetRootPartPosition() test | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -0/+65 |
| | |||||
* | Mantis 55025 Implement script time. | Talun | 2012-04-12 | 3 | -7/+65 |
| | | | | Signed-off-by: nebadon <michael@osgrid.org> | ||||
* | Mantis5502 implementation of some of the new constants | Talun | 2012-04-09 | 3 | -2/+115 |
| | | | | Signed-off-by: Melanie <melanie@t-data.com> | ||||
* | Addresses mantis #5846 | Diva Canto | 2012-04-08 | 1 | -1/+3 |
| | |||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Diva Canto | 2012-04-06 | 4 | -97/+128 |
|\ | |||||
| * | Rather than having a FromFolderID property on every single prim and only ↵ | Justin Clark-Casey (justincc) | 2012-04-07 | 2 | -6/+15 |
| | | | | | | | | | | | | ever using the root prim one, store on SOG instead. This reduces pointless memory usage. | ||||
| * | Store FromItemID for attachments once on SOG instead of on every SOP and ↵ | Justin Clark-Casey (justincc) | 2012-04-07 | 3 | -19/+13 |
| | | | | | | | | | | | | only ever using the root part entry. This eliminates some pointless memory use. | ||||
| * | refactor: Eliminate unnecessary SOP.m_physActor | Justin Clark-Casey (justincc) | 2012-04-06 | 1 | -10/+1 |
| | | |||||
| * | Fix llGetLinkPrimParams for PRIM_POS_LOCAL for child prims whether in scene ↵ | Justin Clark-Casey (justincc) | 2012-04-06 | 1 | -3/+13 |
| | | | | | | | | | | | | | | | | or attachments. Return relative position to root prim rather than 0,0,0. Should fix same issue with llGetLocalPos() http://opensimulator.org/mantis/view.php?id=5951 | ||||
| * | For llGetMass(), return the mass of the avatar is the object is attached. | Justin Clark-Casey (justincc) | 2012-04-06 | 1 | -0/+16 |
| | | | | | | | | | | As per http://lslwiki.net/lslwiki/wakka.php?wakka=llGetMass This is the mass as used by the physics engine (ODE or Bullet). | ||||
| * | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2012-04-06 | 1 | -20/+63 |
| |\ |