Diva Canto
6145f90423
Slight rewording of output messages.
2012-05-10 00:17:36 +01:00
Diva Canto
2e397d1514
HG: Moved User-level code down to the HGEntityTransferModule where it belongs.
2012-05-10 00:16:51 +01:00
Diva Canto
a5d0a29dd9
Moved the inventory manipulation from HGEntityTransferModule to HGInventoryAccessModule where it belongs. They need to exchange some events, so added those to EventManager. Those events (TeleportStart and TeleportFail) are nice to have anyway.
2012-05-10 00:10:18 +01:00
Melanie
de843fd0a8
Implement bulk inventory update over CAPS (not recursive by design,
...
do NOT CHANGE THIS, needed for HG 2.0)
2012-05-10 00:05:47 +01:00
Melanie
ced4eeddcf
Typo fix
2012-05-10 00:05:41 +01:00
Melanie
093910e90e
Fix typos
2012-05-10 00:05:32 +01:00
Melanie
37685ec1b4
Start on Bulk inventory update via CAPS. Not functional yet. HG v2
2012-05-10 00:05:26 +01:00
Melanie
ccd7d35b3f
Add a corresponding method for items. HG v2
2012-05-10 00:05:19 +01:00
Melanie
de7e0d7e52
Add SendRemoveInventoryFolders which allows to remove one or more
...
folders from the viewer's inventory view. For HG v2.0. More to come
2012-05-10 00:05:13 +01:00
Diva Canto
89ee03a24d
HG: beginning of a more restrictive inventory access procedure (optional). Experimental: we'll try switching the root folder from under the viewer.
2012-05-10 00:02:14 +01:00
Melanie
79d1d3ca55
Commit the avination Teleport() methods (adaptedto justincc's changes)
2012-05-09 23:58:42 +01:00
Justin Clark-Casey (justincc)
675c208c7e
zero out SP velocity before calling SP.Teleport(), as the client expects (though this is also effectively done by physics at the moment)
2012-05-09 23:58:35 +01:00
Justin Clark-Casey (justincc)
b3307850ab
refactor: Combine ScenePresence.Teleport() and TeleportWithMomentum()
...
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.
2012-05-09 23:58:27 +01:00
Oren Hurvitz
eaa840dbd9
OSSL: fixed the threat level check for osParseJSONNew
2012-05-09 23:57:49 +01:00
Justin Clark-Casey (justincc)
f64089fa6c
Restore _parent_scene.actor_name_map[prim_geom] = this; accidentally removed from ODEPrim.SetGeom.
...
This occurred in 7a574be3fd
from Sat 21 Apr 2012.
This should fix collision detection.
Mnay thanks to tglion for the spot and the fix in http://opensimulator.org/mantis/view.php?id=5988
2012-05-09 23:57:27 +01:00
Justin Clark-Casey (justincc)
5157d2023d
refactor: simply some properties code in BasicPhysicsPlugin
2012-05-09 23:52:41 +01:00
Justin Clark-Casey (justincc)
2cd927bb14
Fix bug where setting phantom on a prim would result in a server log message 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.
2012-05-09 23:52:04 +01:00
Justin Clark-Casey (justincc)
2889961622
Comment out spurious Body != IntPtr.Zero code after disableBody(), since disableBody() sets Body == IntPtr.Zero on all code paths.
2012-05-09 23:51:56 +01:00
Justin Clark-Casey (justincc)
232f59749e
refactor: Simplify ODEPrim.AddChildPrim() by returning early where appropriate.
2012-05-09 23:51:48 +01:00
Justin Clark-Casey (justincc)
d368a10cc7
Add test for setting physics in a linkset
2012-05-09 23:51:41 +01:00
Justin Clark-Casey (justincc)
139b848774
Add regression test for prim status when root prim in a new linkset is non-physical
2012-05-09 23:51:34 +01:00
Justin Clark-Casey (justincc)
74a5226af5
Fix a bug where linking a non-physical prim with a physical prim as root 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.
2012-05-09 23:51:25 +01:00
Justin Clark-Casey (justincc)
c7ddc7a633
Remove redundant prim_geom != IntPtr.Zero checks in ODEPrim.
...
prim_geom == IntPtr.Zero only before a new add prim taint is processed (which is the first taint) or in operations such as scale change which are done in taint or under lock.
Therefore, we can remove these checks which were not consistently applied anyway.
If there is a genuine problem, better to see it quickly in a NullReferenceException than hide the bug.
2012-05-09 23:39:47 +01:00
Justin Clark-Casey (justincc)
265707d21c
If a physical prim is manually moved (e.g. by a user) then set the geometry position as well as the body position
...
This is necessary to stop the moved prim snapping back to the original position on deselection if moved only once
This resolves http://opensimulator.org/mantis/view.php?id=5966
2012-05-09 23:39:37 +01:00
Justin Clark-Casey (justincc)
eb39d1c4d4
Comment out debug [ASYNC DELETER] messages for now.
2012-04-30 19:29:17 +01:00
Justin Clark-Casey (justincc)
1197d48fc7
Remove mono compiler warning. Adjust message log to error from info
2012-04-30 19:29:08 +01:00
Justin Clark-Casey (justincc)
23e1a55ed5
Add text about using double quotes to surround console command arguments containing spaces to "help" text.
...
e.g. show object name "My long object name"
2012-04-30 19:29:01 +01:00
Justin Clark-Casey (justincc)
ba2a539603
Put scene object related console commands into new "Objects" help category rather than "Regions"
2012-04-30 19:28:54 +01:00
Justin Clark-Casey (justincc)
8a8093d8dd
Add flags information (phantom, physics, etc.) to "show object" and "show part" console commands
2012-04-30 19:28:41 +01:00
Justin Clark-Casey (justincc)
3fb0103452
Add regression test for teleporting an agent between separated regions on 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.
2012-04-30 19:27:21 +01:00
Justin Clark-Casey (justincc)
aeefdaedc7
minor: make NPC tests run in a given order, comment out log lines in mock region data plugins, null out scene in script and npc torture tests, add other doc comments to torture tests
2012-04-30 19:18:54 +01:00
Justin Clark-Casey (justincc)
756d1f917f
Stop individually deleting objects at the end of each ObjectTortureTest.
...
We can now do this since the entire scene and all objects within it are now successfully gc'd at the end of these tests.
This greatly improves the time taken to run each test (by reducing teardown time, not the time to actually do the test work that we're interested in).
Slightly simplifies config read in Scene constructor to help facilitate this.
2012-04-30 19:18:47 +01:00
Justin Clark-Casey (justincc)
6fa3dffad2
Use a fully stubbed out MockConsole for unit tests rather than inheriting from CommandConsole.
...
This is so that the static MainConsole.Instance doesn't retain references to methods registered by scene and other modules to service commands.
This prevents the scene from being garbage collected at the end of a test.
This is not the final thing preventing GC - next up is the timer started by SimStatsReporter that holds a reference to Scene that prevents end of test gc.
2012-04-30 19:17:06 +01:00
Justin Clark-Casey (justincc)
123e781cb3
Make TestSetPhysicsSinglePrim() actually add the object to the scene in order to test more code paths.
2012-04-30 19:15:07 +01:00
Justin Clark-Casey (justincc)
ed9bf5b0c6
Add regression test for prim status when root prim in a new linkset is non-physical
2012-04-30 19:14:35 +01:00
Justin Clark-Casey (justincc)
dd4e39ca1d
refactor: extract common setup code in SceneObjectStatusTests
2012-04-30 19:13:33 +01:00
Justin Clark-Casey (justincc)
5a551b074b
Add TestSetPhysics() to SOP status tests
2012-04-30 19:13:24 +01:00
Justin Clark-Casey (justincc)
c1a9355865
Tweak log messages on local region to region teleport path to help with problem resolution.
2012-04-30 19:05:27 +01:00
Diva Canto
3ea6c25fb6
Teleports: bounce off repeated requests of teleporting the same agent. Some scripts do that, and that fails the whole thing.
2012-04-30 19:05:24 +01:00
Justin Clark-Casey (justincc)
2d3135448c
Comment out old Scene.HandleLogOffUserFromGrid() to reduce client closing analysis complexity
2012-04-30 19:01:30 +01:00
Justin Clark-Casey (justincc)
36a99af37c
minor: Add more detail to unauthorized caps client message
2012-04-30 19:01:23 +01:00
Justin Clark-Casey (justincc)
2aefd15913
minor: Add region name to dropped inbound packet message
2012-04-30 19:01:13 +01:00
Justin Clark-Casey (justincc)
6bc55b1086
minor: Add avatar name to removing agent log message
2012-04-30 19:00:47 +01:00
Justin Clark-Casey (justincc)
7058ce2c70
Comment out avatar move to target message for now.
2012-04-30 19:00:39 +01:00
Justin Clark-Casey (justincc)
8e111e9018
Add regression test TestSameRegionTeleport()
2012-04-30 18:59:50 +01:00
Justin Clark-Casey (justincc)
d8bd7ca436
Comment out AvatarService.SetAvatar debug log line for now
2012-04-30 18:59:43 +01:00
Justin Clark-Casey (justincc)
392f73a000
Comment out some debug ATTACHMENTS log messages for now.
2012-04-30 18:59:35 +01:00
Justin Clark-Casey (justincc)
67efbaf33b
Comment out the noisier AVFACTORY log messages for now.
...
Permanently comment out warnings about ScenePresence not being found - this is entirely expected if the avatar has alraedy logged out or left the scene.
2012-04-30 18:59:27 +01:00
Justin Clark-Casey (justincc)
0d06740148
Improve teleport log debug and error messages to tell us who is teleporting.
2012-04-30 18:58:37 +01:00
Diva Canto
eda6947a22
Changed the Map-related messages from Info to Debug. They're debug messages.
2012-04-30 18:49:07 +01:00