Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | If an object is selected, then don't include it in owner/group/others prim ↵ | Justin Clark-Casey (justincc) | 2011-04-05 | 1 | -13/+18 | |
| | | | | | | counts. This fixes the total prim count that the viewer displays when prims are selected - it appears to ignore the total that we pass it and adds up the counts separately. | |||||
* | If land is not group owned (group ID is always UUID.Zero) then don't check ↵ | Justin Clark-Casey (justincc) | 2011-04-02 | 1 | -2/+0 | |
| | | | | if a prim should be added to the group count | |||||
* | add test for removing group owned objects | Justin Clark-Casey (justincc) | 2011-04-02 | 1 | -0/+32 | |
| | ||||||
* | add test for adding group object, factor out initial zero counts test | Justin Clark-Casey (justincc) | 2011-04-02 | 1 | -7/+45 | |
| | ||||||
* | add remove others object prim count test | Justin Clark-Casey (justincc) | 2011-04-02 | 1 | -0/+23 | |
| | ||||||
* | refactor: rename m_dummyUserId to m_otherUserId | Justin Clark-Casey (justincc) | 2011-04-02 | 1 | -9/+9 | |
| | ||||||
* | If the land has no group ownership (it is UUID.Zero) then don't put prims in ↵ | Justin Clark-Casey (justincc) | 2011-04-02 | 2 | -2/+23 | |
| | | | | | | the group count when they are also not group owned. Also adds simple test for others owned count when an object is added | |||||
* | If the prim count gets an object with invalid bounds, don't try to count it. | Justin Clark-Casey (justincc) | 2011-03-31 | 2 | -3/+8 | |
| | | | | This appears to be the more probable explanation for some failures seen. Either we're counting attachments which are temporarily out of bounds (shouldn't be due to the IsAttachment) check or we're counting scene objects which have out of bounds co-ordinates (seems more likely) | |||||
* | Put in temporary logging message to find out if scene objects are requesting ↵ | Justin Clark-Casey (justincc) | 2011-03-31 | 1 | -4/+5 | |
| | | | | land objects for co-ordinates outside the region | |||||
* | When a new parcel is created, make sure the prim counts are updated. | Justin Clark-Casey (justincc) | 2011-03-30 | 1 | -2/+2 | |
| | | | | This is done by tainting the counts where appropriate | |||||
* | (re)implement selected prim count. | Justin Clark-Casey (justincc) | 2011-03-30 | 2 | -3/+46 | |
| | | | | This does not currently count objects that are sat upon (which the viewer ui implies should be included in this count) | |||||
* | disable prim count debug logging temporarily | Justin Clark-Casey (justincc) | 2011-03-29 | 1 | -33/+35 | |
| | ||||||
* | move total parcel prim calculations into IPrimCounts instead of doing this ↵ | Justin Clark-Casey (justincc) | 2011-03-26 | 2 | -1/+46 | |
| | | | | | | in LLClientView need to move selected prim counts from LandData/LMM still | |||||
* | When an object is duplicated, add the dupe to the uuid/local id indexes as ↵ | Justin Clark-Casey (justincc) | 2011-03-26 | 1 | -0/+23 | |
| | | | | | | | | | 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. | |||||
* | Add test for PCM taint. This currently fails due to unexpected behaviour of ↵ | Justin Clark-Casey (justincc) | 2011-03-26 | 2 | -16/+87 | |
| | | | | | | SceneGraph.ForEachSOG(). This will be corrected soon. Also adds lots of temproarily debug logging | |||||
* | Start using IPrimCounts populated by PrimCountModule instead of LandData ↵ | Justin Clark-Casey (justincc) | 2011-03-25 | 2 | -2/+2 | |
| | | | | | | | 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-25 | 4 | -31/+47 | |
| | | | | Not functional yet, but tests now act against this object rather than interrogating the module directly | |||||
* | factor out common test setup code in PCM tests | Justin Clark-Casey (justincc) | 2011-03-23 | 1 | -57/+53 | |
| | ||||||
* | extend TestAddOwnerObject() to add a second object | Justin Clark-Casey (justincc) | 2011-03-23 | 1 | -4/+14 | |
| | ||||||
* | Add PrimCountModuleTests.TestRemoveOwnerObject(). | Justin Clark-Casey (justincc) | 2011-03-23 | 1 | -1/+38 | |
| | | | | Also adds SceneSetupHelpers methods to easily create sogs with different part UUIDs | |||||
* | refactor: simplify part of AddSceneObject() test setup by moving sog ↵ | Justin Clark-Casey (justincc) | 2011-03-23 | 1 | -10/+1 | |
| | | | | construction into SceneSetupHelpers.CreateSceneObject() | |||||
* | use a 3 part object for the pcm test rather than a 1 part, for improved test ↵ | Justin Clark-Casey (justincc) | 2011-03-23 | 1 | -10/+14 | |
| | | | | coverage | |||||
* | user a non UUID.Zero user in pcm test to avoid any special treatment of ↵ | Justin Clark-Casey (justincc) | 2011-03-23 | 1 | -4/+5 | |
| | | | | UUID.Zero | |||||
* | Extend simple PCM add object test to check all counts | Justin Clark-Casey (justincc) | 2011-03-23 | 1 | -0/+11 | |
| | ||||||
* | Add method doc to the Get*() methods on PrimCountModule | Justin Clark-Casey (justincc) | 2011-03-23 | 1 | -0/+27 | |
| | ||||||
* | remove a rogue Console.WriteLine() from the last commit. | Justin Clark-Casey (justincc) | 2011-03-23 | 1 | -1/+0 | |
| | ||||||
* | Add generic EventManager.OnObjectAddedToScene and get PrimCountModule to ↵ | Justin Clark-Casey (justincc) | 2011-03-23 | 3 | -2/+14 | |
| | | | | | | | 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-22 | 3 | -19/+108 | |
| | ||||||
* | Flash out the prim count module | Melanie | 2011-01-29 | 1 | -0/+174 | |
| | ||||||
* | Create the structure of classes and interfaces to replace the cruft that | Melanie | 2011-01-29 | 1 | -0/+120 | |
| | | | | is in the land management module today | |||||
* | Adding the prim count module skeleton | Melanie | 2011-01-28 | 1 | -0/+112 | |
| | ||||||
* | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim | Melanie | 2011-01-28 | 1 | -2/+14 | |
|\ | ||||||
| * | Put confirmation on "land clear" command to avoid nasty accidents | Justin Clark-Casey (justincc) | 2011-01-27 | 1 | -2/+14 | |
| | | ||||||
* | | Thank you, Goetz, for a patch to fix prim count display in cut regions. | Melanie | 2011-01-28 | 2 | -9/+23 | |
|/ | ||||||
* | When an oar is loaded, do not create a default parcel before loading the ↵ | Justin Clark-Casey (justincc) | 2011-01-27 | 2 | -10/+17 | |
| | | | | | | | | 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). | |||||
* | Show local IDs in "land show" output. | Justin Clark-Casey (justincc) | 2011-01-27 | 1 | -5/+6 | |
| | | | | Also properly insert region name in "land clear" command | |||||
* | Add "land clear" command | Justin Clark-Casey (justincc) | 2011-01-27 | 1 | -3/+13 | |
| | | | | This clears all parcels from the currently selected region and replaces them with the single region spanning default parcel owned by the estate owner | |||||
* | Fix OAR parcel loading so that old parcels are replaced by the new instead ↵ | Justin Clark-Casey (justincc) | 2011-01-27 | 2 | -0/+25 | |
| | | | | | | of merged. The --merge switch will still merge the old and new land parcelling. | |||||
* | remove unused CreateBaseLand() | Justin Clark-Casey (justincc) | 2011-01-27 | 1 | -9/+0 | |
| | ||||||
* | Implement command "land show". This shows all the parcels on the currently ↵ | Justin Clark-Casey (justincc) | 2011-01-26 | 3 | -18/+121 | |
| | | | | | | selected region/s This is useful for diagnostics. The command is "land show" rather than "show land" because it's implemented as a module specific subcommand. | |||||
* | Fixes mantis #5343 | Diva Canto | 2011-01-23 | 1 | -0/+1 | |
| | ||||||
* | Fix scoping for prim region crossings | Melanie | 2011-01-03 | 1 | -1/+1 | |
| | ||||||
* | Implement Scope ID lookup on GetLandData. Stacked regions were not handled | Melanie | 2011-01-03 | 1 | -34/+34 | |
| | | | | properly | |||||
* | Fix a small bug in ban list handling | Melanie | 2010-12-13 | 1 | -0/+2 | |
| | ||||||
* | Revamp the viewer -> banlist packet processing so fix a number of bugs. | Melanie | 2010-12-13 | 2 | -67/+167 | |
| | | | | | | | Remove the too coarse CanEditParcel method in favor of a CanEditParcelProperties method that takes a GroupPowers argument to specify what action is to be taken. Also, make the method to set parcel data much more granular. Permissions in a deeded setting should now work. | |||||
* | Fix parcel bans to work only on the avatars they're supposed to work on ↵ | Melanie | 2010-11-09 | 1 | -14/+15 | |
| | | | | instead of pushing all avatars, even the ones that are allowed. | |||||
* | Formatting cleanup. | Jeff Ames | 2010-09-12 | 2 | -67/+62 | |
| | ||||||
* | First pass at cleaning up thread safety in EntityManager and SceneGraph | John Hurliman | 2010-09-10 | 1 | -1/+2 | |
| | ||||||
* | Reflect the ParcelPropertiesUpdateRequest into Scene.EventManager, because | Melanie Thielker | 2010-09-06 | 1 | -3/+11 | |
| | | | | modules need to see it (Search!) even if it comes in via CAPS | |||||
* | Remove "Dwell" support from core and replace it with calls to methods | Melanie Thielker | 2010-09-05 | 1 | -13/+0 | |
| | | | | on IDwellModule |