aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor: factor out DoPostRezWhenFromItem() from IAM.RezObject()Justin Clark-Casey (justincc)2011-09-011-3/+8
|
* remove the pointless m_Scene.GetNewRezLocation() call at the top of ↵Justin Clark-Casey (justincc)2011-09-011-7/+4
| | | | IAM.RezObject() since its always recalculated later on anyway
* refactor: Move sanity checks to the top of IAM.RezObject() to make the code ↵Justin Clark-Casey (justincc)2011-09-011-219/+215
| | | | more readable
* use group.RootPart in IAM.RezObject() rather than ↵Justin Clark-Casey (justincc)2011-09-011-1/+1
| | | | group.GetChildPart(group.UUID);
* Remove pointless NRE check in IAM.RezObject() since this can never occurJustin Clark-Casey (justincc)2011-09-011-15/+1
|
* Remove code which was automatically deleting non-root prims from scene ↵Justin Clark-Casey (justincc)2011-09-011-0/+4
| | | | | | | objects that had previous been attachments. Looks like this code was accidentally uncommented in e1b5c612 from feb 2010. Appears to resolve the rest of http://opensimulator.org/mantis/view.php?id=5664
* refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵Justin Clark-Casey (justincc)2011-08-271-1/+1
| | | | pointless duplication of identical values
* Add new regression TestRezAttachmentsOnAvatarEntrance() to do simple ↵Justin Clark-Casey (justincc)2011-08-171-0/+12
| | | | attachments check
* Remove manually permissions settings on all current library items so that ↵Justin Clark-Casey (justincc)2011-07-231-0/+4
| | | | | | | they use the defaults instead. Some items had completely wrong permissions - this is easier than correcting them all. The ability to set permissions in xml is retained since there are use cases for this (e.g. to create no-mod library scripts)
* Revert "Don't load current/next/everyone/base permissions from the library ↵Justin Clark-Casey (justincc)2011-07-231-4/+0
| | | | | | | | item xml files - always use PermissionMask.All instead (which was the existing default)." There actually are uses for this. I will correct the perms instead since some entries appear to be wrong. This reverts commit 667b54f5a2a04fa5a2859397868d270eab3913f1.
* Don't load current/next/everyone/base permissions from the library item xml ↵Justin Clark-Casey (justincc)2011-07-231-0/+4
| | | | | | files - always use PermissionMask.All instead (which was the existing default). Library items always need the same permissions, so it doesn't make sense to load them from the xml files. This just opens the door to permissions mistakes.
* minor: remove mono compiler warningsJustin Clark-Casey (justincc)2011-07-161-2/+5
|
* fix bug where opening a library script would failJustin Clark-Casey (justincc)2011-07-081-2/+2
|
* refactor: rename bool returning GetAgentInventoryItem() to ↵Justin Clark-Casey (justincc)2011-07-081-1/+1
| | | | CanGetAgentInventoryItem() to improve code readability
* Added prefix HG to the name of the landmark item in inventory, as a soft ↵Diva Canto2011-06-031-3/+5
| | | | reminder that the landmark belongs to a place in another grid. People can change the name, but that's their decision.
* HG Landmarks being created. WARNING: new config var under ↵Diva Canto2011-06-031-2/+5
| | | | [HGInventoryAccessModule], Gatekeeper.
* Moved CreateNewInventoryItem to the InventoryAccessModule in preparation for ↵Diva Canto2011-06-031-1/+78
| | | | supporting HG landmarks.
* Fixes mantis #5461.Diva Canto2011-05-041-1/+2
|
* refactor: split out the code which actually copies a particular bundle to ↵Justin Clark-Casey (justincc)2011-04-181-106/+115
| | | | inventory
* refactor: rename DeleteToInventory() to CopyToInventory()Justin Clark-Casey (justincc)2011-04-181-1/+1
| | | | DeleteToInventory() is misleading - it is the caller that decides whether to delete or not
* Fix bug where objects were being coalesced in the wrong positions.Justin Clark-Casey (justincc)2011-04-181-2/+2
| | | | | This addresses http://opensimulator.org/mantis/view.php?id=5441 The bug was due to a pre-existing mistake in creating the inventory stored position
* Provide a configuration setting to control whether multiple taken objects ↵Justin Clark-Casey (justincc)2011-04-181-15/+44
| | | | | | | are coalesced to inventory This is the CoalesceMultipleObjectsToInventory setting in [Inventory] in OpenSimDefaults.ini Default is true.
* Fixes mantis #5431 -- coalesced objects in HG-enabled regions. Needs more ↵Diva Canto2011-04-151-1/+9
| | | | testing to make sure HG inventory isn't broken by this (it shouldn't).
* refactor: separate out code that adds permissionsJustin Clark-Casey (justincc)2011-04-151-42/+59
|
* minor: remove a small amount of code duplicationJustin Clark-Casey (justincc)2011-04-151-4/+3
|
* refactor: split out some rez code into a separate CreateItemForObject() methodJustin Clark-Casey (justincc)2011-04-151-143/+159
|
* Use common coalesced serialization code for both tests and the ↵Justin Clark-Casey (justincc)2011-04-131-54/+13
| | | | | | InventoryAccessModule. Continue to restore original absolute positions of stored scene objects, though it's possible that these aren't used again
* Fix bug where rezzing coalesced objects would give all objects the same name ↵Justin Clark-Casey (justincc)2011-04-131-4/+9
| | | | | | | as the item. This now only happens for the first object (which was the item selected last when the coalesce was originally taken) This matches the expected behaviour of the environment as seen on the Linden Labs grid.
* Add coalesced scene objects class and serializer. This is currently only ↵Justin Clark-Casey (justincc)2011-04-131-5/+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.
* refactor: simplify bRayEndIsIntersection boolean set from ↵Justin Clark-Casey (justincc)2011-04-121-14/+1
| | | | RayEndIsIntersection byte
* Fix (add) ability to rez objects by dragging them out of another prim's ↵Justin Clark-Casey (justincc)2011-04-121-0/+4
| | | | | | | | inventory. This should happen if the client supplies a task ID with the RezObject call. The rez goes through the same code as llRezObject(), so the same perms are applied. Rotation isn't yet preserved, this should be fixed shortly.
* Implement rezzing coalesced objectsMelanie2011-04-031-11/+0
|
* Implement rezzing coalesced objectsMelanie2011-04-031-105/+172
|
* Implement taking of coalesced objects.Melanie2011-04-031-196/+263
| | | | | | | 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.
* A stab at making CHANGED_OWNER workMelanie2011-04-011-17/+7
|
* Fix a few little thingsMelanie2011-02-271-0/+3
|
* Forces the owner of a rezzed object to be the "rezzer" of theMic Bowman2011-02-221-0/+2
| | | | | | object rather than the owner of the inventory item. In theory, this shouldn't happen unless you are using grid-wide library for inventory.
* Dont' trust the viewer! Fix a permission slam error caused by trustingMelanie2011-01-121-0/+6
| | | | the viewer too much.
* Fix direct item give permissionsMelanie2011-01-121-10/+16
|
* Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto2010-11-291-3/+7
| | | | usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
* WARNING: LOTS OF CONFIGURATION CHANGES AFFECTING PRIMARILY HG CONFIGS. Added ↵Diva Canto2010-11-251-0/+20
| | | | capability to preserve creator information on HG asset transfers. Added a new HGAssetService that is intended to be the one outside the firewall. It processes and filters the assets that go out of the grid. Also fixed the normal AssetService to do special things for the main instance (console commands, etc). Moved HGInventoryService to OpenSim.Services.HypergridService. Changed the way the login service gets the ServiceURL configs.
* Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto2010-11-211-0/+1
| | | | | | themselves. Tested. Seems to be working, main tests pass. Nothing done for IARs or HG transfers yet -- this only works for OARs for the time being. New migration in inventory table in order to make CreatorID varchar(255).
* Change the way attachments are persisted. Editing a worn attachment will nowMelanie2010-11-161-5/+13
| | | | | | | save properly, as will the results of a resizer script working. Attachment positions are no longer saved on each move, but instead are saved once on logout. Attachment script states are saved as part of the attachment now when detaching.
* Fix an infinite recursionMelanie2010-10-081-1/+4
|
* Plumb the path for multiple object deletesMelanie2010-10-061-5/+26
|
* Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman2010-09-161-6/+2
| | | | MapAndArray collection
* Formatting cleanup.Jeff Ames2010-09-121-1/+1
|
* Move code that allows llGiveInvetory() to move item into appropriate system ↵Justin Clark-Casey (justincc)2010-09-041-1/+1
| | | | | | | folder up from connectors into Scene.Inventory.cs This fixes the problem for all architectures (hg as well as local and grid) and means we don't have to dupe code between connectors. Not ideal in that it becomes non-modular, but methods in Scene.Inventory.cs should eventually be modularized anyway.
* Adjust the "Magic numbers" we use because we can't reference the actualMelanie Thielker2010-08-311-1/+1
| | | | script state enum to reflect recent changes.
* Improve consistency of locking for SOG.m_parts in order to avoid race ↵Justin Clark-Casey (justincc)2010-08-261-2/+4
| | | | conditions in linking and unlinking