aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement taking of coalesced objects.Melanie2011-04-032-2/+11
| | | | | | | 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.
* Make CHANGED_OWNER work for deeding and god-mode in-world changeMelanie2011-04-031-0/+4
|
* A stab at making CHANGED_OWNER workMelanie2011-04-011-5/+5
|
* Remove unused Datastore parameter from RegionInfo (legacy from early 2008)Justin Clark-Casey (justincc)2011-03-312-3/+0
|
* When an object is duplicated, add the dupe to the uuid/local id indexes as ↵Justin Clark-Casey (justincc)2011-03-261-1/+29
| | | | | | | | | well as the basic entities list. Added a prim counts test to reinforce this - shift-copy was no incrementing prim count. This will sometime become a basic scene test. New code needs to be refactored so we just call SceneGraph.AddSceneObject(). This will happen in the near future. With this, basic owner prim counts on a single parcel appear to be working fine (with the same previous existing taint calls as used by the land management module). More work to do.
* Merge branch 'master' into primcountsJustin Clark-Casey (justincc)2011-03-261-28/+48
|\
| * Make SceneGraph.ForEachSOG() execute once for each SOG, not once for each ↵Justin Clark-Casey (justincc)2011-03-261-5/+25
| | | | | | | | | | | | | | | | prim (e.g. a SOG with 3 prims would have the action executed three times). To do this, a new SceneObjectGroupsByFullID index in SceneGraph which just index's prims by their root part UUID, in order to avoid the inefficiency of filtering existing lists. Existing callers to SceneGraph.ForEachSOG() did not fail due to the multiple per SOG action executions - they were probably just much less efficient. Code suggests that no callers expected ForEachSOG() to execute actions on sog multiple times
| * refactor: rename SOG collections in SceneGraph to make it clearer that they ↵Justin Clark-Casey (justincc)2011-03-261-30/+30
| | | | | | | | are indexing each part's UUID, not just the root part.
* | Start using IPrimCounts populated by PrimCountModule instead of LandData ↵Justin Clark-Casey (justincc)2011-03-253-223/+1
|/ | | | | | | counts populated by LandManagementModule. In order to pass ILandObject into IClientAPI.SendLandProperties(), had to push ILandObject and IPrimCounts into OpenSim.Framework from OpenSim.Region.Framework.Interfaces, in order to avoid ci Counts are showing odd behaviour at the moment, this will be addressed shortly.
* Add ILandObject.IPrimCounts for the new prim count module.Justin Clark-Casey (justincc)2011-03-251-0/+5
| | | | Not functional yet, but tests now act against this object rather than interrogating the module directly
* Add generic EventManager.OnObjectAddedToScene and get PrimCountModule to ↵Justin Clark-Casey (justincc)2011-03-232-3/+45
| | | | | | | 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.
* Add an initial confidence-building TestAddObject() for prim counts.Justin Clark-Casey (justincc)2011-03-221-6/+7
|
* On initial setup, include estate and regions names in questions to make it ↵Justin Clark-Casey (justincc)2011-03-211-1/+1
| | | | clearer what they relate to.
* minor: slightly adjust previous method doc.Justin Clark-Casey (justincc)2011-03-212-2/+2
|
* add method doc to IEstateDataService and IEstateDataStore interfacesJustin Clark-Casey (justincc)2011-03-212-2/+90
|
* On initial region registration, if the user chooses the option to make the ↵Justin Clark-Casey (justincc)2011-03-212-0/+28
| | | | region part of an existing estate, then list the existing region names.
* For objects loaded from an IAR, make sure the CreatorID points towards the ↵Justin Clark-Casey (justincc)2011-03-101-2/+6
| | | | | | | | | OSP resolved ID if newer CreationData is not present. This should resolve issues where the creator for rezzed objects was being shown as "Unknown user" where previous behaviour was to show the OSP resolved account. This is being done by parsing the serialized objects and updating the CreatorID if no CreationData exists. This operation might be expensive for sculpties where the sculpt texture is inlined with the object data. Will just have to see. This relies on the IAR streaming inventory data before asset data (as is currently the case). Will need to introduce more stringent checks for file order on loading (much like JAR zips must start with the manifest file). This is for IAR loading only. Tests updated to check this behaviour.
* Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)2011-03-0912-12/+0
| | | | This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
* Fix a few little thingsMelanie2011-02-271-0/+2
|
* change some log messages from info to debugJustin Clark-Casey (justincc)2011-02-252-2/+2
|
* Fix bug where avatars in other regions would not always show up on the mini-mapJustin Clark-Casey (justincc)2011-02-241-1/+2
|
* Parameterizes the view distance used to compute and manageMic Bowman2011-02-222-5/+28
| | | | | | | | | | | | | | 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.
* Remove test T020_TestMakeRootAgent() which hasn't been active for ages anywayJustin Clark-Casey (justincc)2011-02-191-19/+0
| | | | This test was non-viable. Keeping inactive T021_TestCrossToNewRegion() around for now since it's still useful for reference purposes in constructing a future working test.
* Put some CapabilitiesModule null checks in SceneJustin Clark-Casey (justincc)2011-02-181-4/+11
| | | | Stop tests setting up a capabilities module by default
* If GridService.GetNeighbours() could not find the region then log a warning ↵Justin Clark-Casey (justincc)2011-02-181-2/+5
| | | | | | rather than causing a null reference on the normal log line This also extends the TestChildAgentEstablished() test to actually activate the EntityTransferModule, though the test is not yet viable
* extend TestChildAgentEstablished() test slightly to put in ↵Justin Clark-Casey (justincc)2011-02-182-3/+12
| | | | EntityTransferModule. Not yet enabled.
* On SceneSetupHelpers, go back to calling ScenePresence.CompleteMovement() ↵Justin Clark-Casey (justincc)2011-02-181-19/+41
| | | | | | | for the last stage of AddRootAgent() instead of SP.MakeRootAgent() Going this extra step doesn't appear to cause any test failures. This is arguably better for test purposes, though at some stage another method may arise which does just call AddRootAgent().
* remove another unused test teardown methodJustin Clark-Casey (justincc)2011-02-181-6/+0
|
* remove unused test teardown methodJustin Clark-Casey (justincc)2011-02-181-8/+2
|
* separate attachment tests out into their own classJustin Clark-Casey (justincc)2011-02-182-50/+180
|
* Add very basic test which invokes the scene update loop once and checks the ↵Justin Clark-Casey (justincc)2011-02-183-157/+224
| | | | | | frame number. This makes Scene.Update() match its original description of performing a single update, which also matches the semantics of SOG and ScenePresence.
* minor: add method doc to a few ScenePresence methodsJustin Clark-Casey (justincc)2011-02-181-2/+13
|
* Stop the avatar sometimes pausing for more than a second on the border when ↵Justin Clark-Casey (justincc)2011-02-181-0/+7
| | | | | | | | | region crossing. This restores a RemoveFromPhysicalScene() call in ScenePresence.CheckForBorderCrossing() when the agent has been placed in transit. If we don't remove the agent from the physical scene, then the method continues to be called via ScenePresence.Update() until the handover of the client between regions is completed. Since this handover can take more than 1000ms (due to the 1000ms event queue polling response from the server), this results in the avatar pausing on the border for the entire handover period.
* Add support for new naming syntax of linked regions to osTeleportAgent and ↵Marck2011-02-171-3/+3
| | | | osTeleportOwner.
* Change the QUERYACCESS method to eliminate spurious access denied messagesMelanie2011-02-161-1/+2
|
* Set filter to send proper rotations for root partBlueWall2011-02-131-1/+1
| | | | | | | This allows the root prim, alone or in a set, to send it's rotation. This fixes unsitting the avatar on sit-offsest type teleports where the sit target is in the root prim of a linkset.
* Hack in a crude temporary "estate show" commandJustin Clark-Casey (justincc)2011-02-121-1/+1
| | | | | | This will show the estate for each region, along with that estate's id and the estate owner. This is temporary because the command output might change. This commit also converts the estate module from the old to the new region module format
* Added emergency monitoring of UDP Outgoing packets thread. Just type ↵Diva Canto2011-02-081-0/+2
| | | | "emergency-monitoring on/off"
* New command: show pending-objectsDiva Canto2011-02-062-0/+9
|
* Send object date to viewer in microseconds (Fixes mantis bug #3990)Kevin Cozens2011-02-041-1/+2
|
* Change UpdateAgent (for changes in agent position) to be sentMic Bowman2011-02-031-21/+22
| | | | | | once to each simulator rather than once to each region. This should help with some of the delays caused by multiple outstanding requests to a single service point.
* Create the structure of classes and interfaces to replace the cruft thatMelanie2011-01-291-0/+2
| | | | is in the land management module today
* Add the prim count interfacesMelanie2011-01-281-0/+53
|
* Fix up QueryAccess to also check parcelsMelanie2011-01-281-1/+1
|
* Fix bumping into sim borders and check estate bans for walking crossingsMelanie2011-01-283-14/+43
|
* Thank you, Goetz, for a patch to fix prim count display in cut regions.Melanie2011-01-281-0/+1
|
* When an oar is loaded, do not create a default parcel before loading the ↵Justin Clark-Casey (justincc)2011-01-271-1/+4
| | | | | | | | parcels from the OAR. The region spanning parcel shouldn't exist in this situation. If it does, when the land data is loaded it is repersisted with a local ID which comes after the ones loaded via the oar, which obliterates the oar loaded one. Resaving the data we just loaded from the database is somewhat odd in itself (though this makes sense from the way that OAR loading was already using the same event).
* Fix OAR parcel loading so that old parcels are replaced by the new instead ↵Justin Clark-Casey (justincc)2011-01-271-0/+5
| | | | | | of merged. The --merge switch will still merge the old and new land parcelling.
* Make it workMelanie2011-01-271-4/+6
|
* Add a TeleportFlags member to SP so we can tell how we got there.Melanie2011-01-272-0/+15
|