aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-10Stop trying to deregister caps or close child agents when an NPC is removedJustin Clark-Casey (justincc)1-8/+7
2011-08-02Get rid of AvatarAppearance.Owner to simplify the code.Justin Clark-Casey (justincc)1-2/+2
This is not used for anything - appearances are always properties of objects with ids (ScenePresence, AgentCircuitData) and just has the potential to get out of sync when the appearance is cloned.
2011-07-29When using osTeleportAgent() and osTeleportAvatar(), only teleport if the ↵Justin Clark-Casey (justincc)1-4/+8
region name exactly matches (not near matches) This is to prevent situations where the first name returned by GridService.GetRegionsByName is not one that exactly matches the given region name, even when there is an exact match later on in the list. Only the above two functions call this teleport method (the map uses a different routine) so this seems safe to change. Addresses http://opensimulator.org/mantis/view.php?id=5606
2011-07-23Pass the first name and last name from the agent circuit data to the ↵Justin Clark-Casey (justincc)1-2/+3
authorization service rather than from the account. This is to accomodate situations where the authorization service is being used by the hypergrid, where visitors have no user account. See http://opensimulator.org/mantis/view.php?id=5517, this code is somewhat adapted/cleaned up from Michelle's patch I'm a little ambivalent about this since visitors could put anything in firstname/lastname so it's not much of an auth measure. It's up to the auth service to decide which data it actually uses. Possibly we should be passing through other info such as agent circuit ip
2011-07-22Generate the initial maptile asynchronouslyOren Hurvitz1-11/+11
Signed-off-by: Melanie <melanie@t-data.com>
2011-07-19refactor: rename UpdatePrimPosition() to UpdatePrimGroupPosition() for ↵Justin Clark-Casey (justincc)1-2/+2
consistency
2011-07-19Rename UpdatePrimRotation() to UpdatePrimGroupRotation() since this is what ↵Justin Clark-Casey (justincc)1-4/+8
it actually does and is more consistent with other method names.
2011-07-12When a mesh object is added to a scene, delay adding the physics actor until ↵Justin Clark-Casey (justincc)1-2/+3
the sculpt data has been added to the shape (possibly via an async asset service request) This prevents spurious 'no asset data' for meshes added on startup.
2011-07-11When a sculpt/mesh texture is received by a part on a callback request, ↵Justin Clark-Casey (justincc)1-0/+1
don't do the unnecessary work of copying the base shape. Just setting the new base shape is enough to reinsert the sculpt data and set the taint. Also cleans up a few more left-in debugging messages.
2011-07-01fix build break I just introducedJustin Clark-Casey (justincc)1-2/+1
2011-07-01Add an async inventory details sender to respond to FetchInventory packets.Justin Clark-Casey (justincc)1-2/+3
If a user with a very large inventory right-clicks on their "My Inventory" folder, viewer 1 code will send a massive number of Fetchinventory requests. Even though each is handled asynchronously via a pool thread, the sheer frequency of requests overwhelms the pool and freezes inbound packet handling. This change makes the first Fetchinventory thread also handle subsequent requests, freeing up the other threads. Further efficiencies could be made by handling all the items in a particular FetchInventory request together, rather than separately.
2011-06-29Hack around with the NPC module to get osNpcCreate() partially working again.Justin Clark-Casey (justincc)1-1/+3
This now creates an avatar but appearance is always cloudy. Move doesn't work. Really, creating an NPC should only involve a ScenePresence rather than doing anything with IClientAPI, since an NPC has no viewer to communicate with!
2011-06-08Fixed "Unknown User" listed as creator/owner on prims created with the Build ↵Diva Canto1-0/+4
button by foreign visitors. Added command to the UserManagementModule to list all the known bindings between user UUIDs and their names: show user-names.
2011-06-08Added EventManager.OnPrimsLoaded, an event that modules can hook up onto so ↵Diva Canto1-0/+1
that they know when the scene's objects have been loaded from the DB.
2011-06-07This makes the display names work better for foreignersDiva Canto1-0/+26
2011-06-03HG Landmarks now working.Diva Canto1-22/+1
2011-06-03Moved CreateNewInventoryItem to the InventoryAccessModule in preparation for ↵Diva Canto1-2/+2
supporting HG landmarks.
2011-05-28Adding an event to signal that logins are enabledBlueWall1-0/+3
Added an event to signal the eabling of logins and added an alert to send to a configured service.
2011-05-28Add option to disable loginsBlueWall1-1/+17
This just covers script loading for now. More to come.
2011-05-24Allow disabling the legacy backup mechanism to avoid the object clone ifMelanie1-0/+9
backup is not used.
2011-05-24Add an event for an orderly region shutdown that fires once per region beforeMelanie1-0/+2
the SceneGraph is torn down.
2011-05-21refactor Scene.RezObject() to use AddNewSceneObject() rather than ↵Justin Clark-Casey (justincc)1-3/+3
copy/pasting code with small differences
2011-05-20implement Scene.GetSceneObjectGroup(string name) to match the equivalent ↵Justin Clark-Casey (justincc)1-2/+13
GetSOP method
2011-05-20implement Scene.GetSceneObjectGroup(UUID fullID) using existing indexJustin Clark-Casey (justincc)1-0/+10
2011-05-20add test for rezzing an object from a prim itemJustin Clark-Casey (justincc)1-1/+2
2011-05-18correct small mistake in "delete object name <name>" usage summaryJustin Clark-Casey (justincc)1-1/+1
2011-05-09Add commands to delete objects by name, UUID, creator or ownerMelanie1-0/+67
2011-05-06Bug fix: iars under Library weren't being loaded.Diva Canto1-0/+2
2011-05-01Broke down Caps.cs into a generic Caps object that simply ↵Diva Canto1-4/+4
registers/unregisters capabilities and a specific bunch of capability implementations in Linden space called BunchOfCaps. Renamed a few methods that were misnomers. Compiles but doesn't work.
2011-04-30When coming in from a legacy region without fatpacks, start scripts theMelanie1-0/+16
usual way
2011-04-29Delaying starting the scripts on TPs and crossings until the agent is root.Diva Canto1-14/+8
2011-04-28Fatpack message on agent transfers: 1 message only (UpdateAgent) containing ↵Diva Canto1-1/+3
the agent and all attachments. Preserves backwards compatibility -- older sims get passed attachments one by one. Meaning that I finally introduced versioning in the simulation service.
2011-04-21Implement agent limitsMelanie1-0/+20
2011-04-13Adjust the quanterions used in the rez coalsced object tests to get sensible ↵Justin Clark-Casey (justincc)1-0/+4
bounding box and offset numbers. Extend test to check position of objects in the rezzed coalescence.
2011-04-13Add coalesced scene objects class and serializer. This is currently only ↵Justin Clark-Casey (justincc)1-1/+14
used by the TestRezCoalescedObject() regression test. This structure matches the existing one for SceneObjects and will allow code to be reused by the uuid gatherer, other tests, etc. Test is not yet fully implemented due to a bug in rezzing coalesced objects where they all get the same name as the item. Only one object should get the same name as the item, which appears to be the one selected last when the the objects were coalesced in the first place. This bug will be addressed shortly.
2011-04-05Change some text to make the autoreturn mechanism more obvious, and align ↵Justin Clark-Casey (justincc)1-1/+4
with the fact that it's one word rather than two.
2011-04-05remove now unused individual LandData prim counts.Justin Clark-Casey (justincc)1-14/+0
However, the calls to the land management module to record prims need to remain, since they were also being used to return owner object lists, etc. This is probably why prim counts were being done there in the first place.
2011-04-03Implement taking of coalesced objects.Melanie1-0/+9
WARNING!!!!! You can TAKE them, but you can't REZ them again. Only the first of the contained objects will rez, the rest is inaccessible until rezzing them is implemented. Also, rotations are not explicitly stored. This MAY work. Or not.
2011-03-31Remove unused Datastore parameter from RegionInfo (legacy from early 2008)Justin Clark-Casey (justincc)1-1/+0
2011-03-23Add generic EventManager.OnObjectAddedToScene and get PrimCountModule to ↵Justin Clark-Casey (justincc)1-3/+15
listen for that rather than EventManager.OnParcelPrimCountAdd OnParcelPrimCountAdd had the wrong semantics for the PrimCountModule - it was invoked for every entity in the scene, not just new ones, which would screw up the untainted count. Extend automated test for this scenario.
2011-03-21On initial setup, include estate and regions names in questions to make it ↵Justin Clark-Casey (justincc)1-1/+1
clearer what they relate to.
2011-02-25change some log messages from info to debugJustin Clark-Casey (justincc)1-1/+1
2011-02-22Parameterizes the view distance used to compute and manageMic Bowman1-0/+9
child agents in neighbor regions. This means you can extend the view on a simulator beyond the default 3x3 regions. This uses a region default draw distance and should be replaced at some point by the avatar specified draw distance. That will require more careful, dynamic recomputation of child agents every time the draw distance changes. WARNING: this is experimental and has known instabilities. specifically all regions "within site" should be running the same default draw distance or agents will not be closed correctly.
2011-02-18Put some CapabilitiesModule null checks in SceneJustin Clark-Casey (justincc)1-4/+11
Stop tests setting up a capabilities module by default
2011-02-18Add very basic test which invokes the scene update loop once and checks the ↵Justin Clark-Casey (justincc)1-154/+153
frame number. This makes Scene.Update() match its original description of performing a single update, which also matches the semantics of SOG and ScenePresence.
2011-02-17Add support for new naming syntax of linked regions to osTeleportAgent and ↵Marck1-3/+3
osTeleportOwner.
2011-02-16Change the QUERYACCESS method to eliminate spurious access denied messagesMelanie1-1/+2
2011-02-08Added emergency monitoring of UDP Outgoing packets thread. Just type ↵Diva Canto1-0/+2
"emergency-monitoring on/off"
2011-01-28Fix up QueryAccess to also check parcelsMelanie1-1/+1
2011-01-28Fix bumping into sim borders and check estate bans for walking crossingsMelanie1-2/+4