aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-07-17* Another attempt to remedy the 'ghost prim' situation. This time for ↵Teravus Ovares1-0/+3
attachments on teleport.
2009-07-17fixed the bug where changing the rotation of a selection of prims in a ↵MW1-0/+1
linkset, made each of those prims rotate around its own centre rather than around the geometric centre of the selection like they should do (and like the client expects). This involved adding a new OnUpdatePrimSingleRotationPosition event to IClientAPI so that we can get the changed position from the client. Btw adding new events to IClientAPI is really tedious where you have to copy the change across to at least 5 or 6 other files. [Note this doesn't fix the bug where any rotation changes to the root prim (but not the whole linkset) cause rotation errors on the child prims.]
2009-07-17* Change the order of Update so Physics processes a frame before the scene ↵Teravus Ovares1-18/+20
manipulates the physics Scene.cs * Remove the draconic locking around adding an avatar to the Scene * Handle an extreme error case when border crossing fails and user uses map to teleport to a different region on the same instance causing control commands to go to a child agent. * Make the Set Appearance method use the proper 'remove from physics scene' method. * It *may* help border crossings. * It *may* help the 'on avatar rez' lag, that people have been seeing the past week. * It may also cause physics to crash more often on failed teleports (though.. I think I got the cases covered).
2009-07-13Changed it so that when rezzing prims from inventory, a bounding box ↵MW1-2/+1
containing all the prims in the group is used for working out the rezzing point. So that none of the child prims are underground. Or at least thats what it is meant to do, still needs more testing and there are still some issues with link sets getting rezzed too high above the ground/target prim.
2009-07-13Attempt to make it so items rezzed from inventory aren't half in the ground ↵MW1-2/+10
or half in the prim they are being rezzed on top off. This is currently only correct for single prims (not link groups) and unrotated prims. Next step is to fix for link sets and rotated prims. This needs a lot more testing to find use cases where it might be wrong (like half way up a hill?)
2009-07-10* Added a user friendly message to the sqlite regionsettings saver giving ↵Teravus Ovares1-1/+1
them troubleshooting options and telling them to restart the simulator. This situation, hopefully is temporary and generates an exception when sqlite users first start OpenSimulator because of an unexpected condition in the database layer. Restart and all is well. * Added a user friendly message to the 'No IInventoryService available' condition with troubleshooting options.
2009-07-08Prevent teleports from ending undergroundMelanie Thielker1-0/+41
2009-06-22* Minuscule CC fixlbsa711-0/+2
2009-06-19When a shared module hooks OnClientClosed, it has no way of findingMelanie Thielker1-1/+1
out which client connection has closed. So, in multi-region sims, things can get messy fast. This introduces a second parameters, which is a Scene object ref. Minor adjustments to custom modules may be required due to this change.
2009-06-14Pulled out HelloNeighbour into its own service, INeighbourService, which may ↵diva1-1/+1
get more functions as we go along. It's a very simple service and service connectors, and it served primarily to establish the design of services that dependent on Scenes and that must always have a local connector. More refactoring coming, as this showed how to do it right.
2009-06-10Heart surgery no.2: the inventory service hooks. diva1-0/+20
Several improvements in the connectors themselves. Several improvements in configurations. Needed to add a hack in IUserService and UserManagerBase, to be removed when that service is refactored.
2009-06-09Formatting cleanup. Ignore some generated files.Jeff Ames1-3/+3
2009-06-03* Making sure we fail a bit earlier if we have no AssetServicelbsa711-0/+7
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-29* Bug fix: Fixes an exception when Scene.RemoveClient is called to remove on aArthur Valadares1-117/+117
non-existing ScenePresence avatar. Also removed trailing white spaces.
2009-05-29* refactor: Remove redundent prim id attribute on Scene.AddSceneObject()Justin Clarke Casey1-8/+3
2009-05-29* Add save xml2 serialization testJustin Clarke Casey1-2/+1
2009-05-21Added ITeleportModule interface, and added a hook into scene so if a module ↵MW1-13/+13
has registered this interface then that handles teleport requests rather the SceneCommunicationService. As by default there is no ITeleportModule registered, Teleports by default will still be handled by SceneCommunicationService.
2009-05-15Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva1-1/+1
-- please see the example. Affects region servers only. This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
2009-05-12* EventManager's OnNewPresence event now fires correctly again.Adam Frisby1-0/+3
2009-05-11Add AssetService of type IAssetService to SceneMelanie Thielker1-0/+14
2009-05-11Squashed commit of the following:Dr Scofield1-5/+45
further ACL stuff: - adding StrictAccessControl variable: DON'T set this to false if you want to enforce ACL, it will disable ACLs right now. Default is true. once we've got code added to allow child agents but prevent them from becoming root agents when the ACL denies access to the avatar, setting this to false will then allow avatars to see into a neighboring region but not enter it (currently ACL prevent both, seeing and entering). - enhancing log statements
2009-05-10Add some asset cache plumbing. Change the generic cache from UUID to stringMelanie Thielker1-1/+5
keys to allow caching the new crop of URI identified objects.
2009-05-08* refactor: break out sog original xml serialization to a separate classJustin Clarke Casey1-1/+2
2009-05-06refactoring Scene.NewUserConnection() to be simpler and clearer.Dr Scofield1-84/+77
2009-05-05- moving banned check and public/private check toDr Scofield1-84/+75
Scene.NewUserConnection() - adding reason reporting this enforces estate bans very early on and prevents us from circulating client objects that we'd then have to retract once we realize that the client is not allowed into the region
2009-05-05Add copyright header. Formatting cleanup. Ignore some generated files.Jeff Ames1-33/+33
2009-05-04* minor: remove some mono compiler warnings, minor cleanupJustin Clarke Casey1-7/+0
2009-05-04Create a working configuration hook to allow LLClient parameters fromMelanie Thielker1-2/+2
Opensim.ini to take force
2009-05-02Plumb conifg into the client views. Add config option to configure packetMelanie Thielker1-0/+5
dropping.
2009-05-02Numerous packet improvements.Melanie Thielker1-0/+6
Don't allow packets to be resent before they have actually been sent for the first time. Switch from serializing a packet to get it's length to the LibOMV provided Length property. Fix resend timing. Fix the use of dangling references to Acked packets. Fix the packet handler to play nice with the packet pool. Fix the packet pool. Add data block recycling to the packet pool. Packet pool is now ENABLED by default. Add config option to disable packet and data block reuse. Add ObjectUpdate and ImprovedTerseObjectUpdate to the packets being recycled.
2009-05-01Add a tweakable for the prim queue preloadMelanie Thielker1-0/+9
2009-04-28Let estate owners and managers enter nonpublic estates unconditionally.Melanie Thielker1-2/+2
Let gods go to nonpublic estates as well.
2009-04-27From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield1-0/+5
If an avatar is sitting when the client disconnects, the avatar is not disassociated from the SOG on which (s)he was sat. This produces any, and varied, effects. I have updated RemoveCLient in Scene, to check, and stand the client up immediately prior to disconnect. This seems like the most robust way to handle the situation. Though in this case it might be worth factoring out the animations from other standup processing. It does no harm, but in this case it is entirely redundant.
2009-04-27From: Alan M Webb <alan_webb@us.ibm.com>Dr Scofield1-33/+49
Added support for access control lists. Scene: Added test to AddNewClient for an entry in the access list when connecting to a region with limited access. EstateSettings: Added an HasAccess(UUID) property to test for an entry in the estate's access list. RemoteAdmin: Add RPC calls for admin_acl_list, clear, add, and remove.
2009-04-15Make sim health data more usefulMelanie Thielker1-1/+23
2009-04-15* Resolve unit test failure introduced in r9148 (probably)Justin Clarke Casey1-1/+0
* Have the test scene always return success for session id authentication for now
2009-04-15Another cleanup: Region_Status renamed to RegionStatus, and a usage comment ↵Johan Berntsson1-1/+1
added
2009-04-15Renamed splitID in Scene and added comments on usageJohan Berntsson1-1/+8
2009-04-14Adds session authentication upon NewUserConnections. Adds user key ↵diva1-38/+55
authentication (in safemode only) upon CreateChildAgents. All of this for Hypergrid users too. This addresses assorted spoofing vulnerabilities.
2009-04-14Cleaning up old circuit upon client close.diva1-0/+2
2009-04-12Thank you, dslake, for a patch that converts many of the linear searchesMelanie Thielker1-15/+0
in SceneGraph to fast dictionary lookups. Includes a regression fix for attachments by myself. Fixes Mantis #3312
2009-04-11* Add catch-all error handlers back to scene.Teravus Ovares1-8/+8
2009-04-11* Instead of referencing mesh stuff in the physics plugin.. change the IMesh ↵Teravus Ovares1-8/+8
Interface. (blame prebuild)
2009-04-10Handle ObjectSpin* packets to spin physical prims on Ctrl+Shift+Dragnlin1-0/+2
Addresses Mantis #3381 The current implementation works as expected if the object has no rotation or only rotation around the Z axis; you can spin the object left or right (around the world Z axis). It works a little unexpectedly if the object has a non-Z-axis rotation; in this case the body is spun about its local Z axis, not the world Z-axis. (But SL also behaves oddly with a spin on an arbitrarily rotated object.)
2009-04-09* Added additional debug testing info to SceneAdam Frisby1-0/+1
* Corrected issue with MRMs where it would attempt to overwrite an already loaded DLL. (and thus fail with cryptic UnauthorizedAccessException.) * Made DrunkenTextAppreciationModule.cs MRM not crash with StackOverflowException * Added some temporary logging to MRM World.*
2009-04-08* Make it possible to store creator strings in user inventory items as well ↵Justin Clarke Casey1-1/+1
as UUIDs * All existing functionality should be unaffected. * Database schemas have not been changed.
2009-04-07* minor: remove some mono compiler warningsJustin Clarke Casey1-1/+2
2009-04-07* Apply http://opensimulator.org/mantis/view.php?id=3227Justin Clarke Casey1-0/+1
* Implement "Add To Outfit" * Thanks FredoChaplin
2009-04-06Applying Intimidated's patch to fix anim handling.Melanie Thielker1-1/+8
Fixes Mantis #3417