aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework/InventoryAccess (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add Enabled switch in new [Attachments] section in OpenSimDefaults.ini to ↵Justin Clark-Casey (justincc)2011-09-301-1/+0
| | | | | | allow attachments to be temporarily turned off. This is for debugging purposes. Defaults to Attachments Enabled
* Use scene presence agent id for rezzed object ownership rather than item owner.Justin Clark-Casey (justincc)2011-09-081-7/+12
| | | | These should be identical. However, the item isn't available when rezzing npc attachments.
* Stop NPCs losing attachments when the source avatar takes them off.Justin Clark-Casey (justincc)2011-09-031-32/+35
| | | | | | | This was happening because we were using the source avatar's item IDs in the clone appearance. Switch to using the asset IDs of attachments instead for NPCs. The InventoryAccessModule and AttachmentModule had to be changed to allow rezzing of an object without an associated inventory item. Hopefully goes some way towards resolving http://opensimulator.org/mantis/view.php?id=5653
* Remove redundant RootPart.CreatedSelected = true in IAM.RezObject() since ↵Justin Clark-Casey (justincc)2011-09-021-2/+0
| | | | this is done through parts iteration
* Go back to resetting the State parameter for all parts of a SOG when ↵Justin Clark-Casey (justincc)2011-09-021-5/+8
| | | | | | | SOG.ClearPartAttachmentData() is called. Even though we don't use these on rez they are still present after an unlink, after which selecting them causes various viewers to crash Hopefully really does address http://opensimulator.org/mantis/view.php?id=5664
* stop passing FromUserInventoryItemID right down into the deserializer.Justin Clark-Casey (justincc)2011-09-021-4/+2
| | | | the code becomes simpler if this is set from the outside - only one place needs to do this.
* Move more of IAM.RezObject() into DoPreRezWhenFromItem()Justin Clark-Casey (justincc)2011-09-021-24/+27
|
* move more of IAM.RezObject() into DoPreRezWhenFromItem()Justin Clark-Casey (justincc)2011-09-021-63/+85
|
* factor out a section of IAM.RezObject() into DoPreRezWhenFromItem()Justin Clark-Casey (justincc)2011-09-021-40/+48
|
* 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
* rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)2011-08-061-2/+2
|
* rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)2011-08-061-5/+5
|
* 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-032-4/+11
| | | | reminder that the landmark belongs to a place in another grid. People can change the name, but that's their decision.
* HG Landmarks now working.Diva Canto2011-06-031-1/+1
|
* HG Landmarks being created. WARNING: new config var under ↵Diva Canto2011-06-032-2/+20
| | | | [HGInventoryAccessModule], Gatekeeper.
* Moved CreateNewInventoryItem to the InventoryAccessModule in preparation for ↵Diva Canto2011-06-031-1/+78
| | | | supporting HG landmarks.
* Added necessary code to drop inventory on hg friends using the profile ↵Diva Canto2011-05-241-4/+10
| | | | window, but can't test because this mechanism doesn't seem to work without a profile service.
* Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)2011-05-211-1/+0
| | | | OpenSim.Tests.Common instead
* rename UserProfileTestUtils to UserAccountHelpers to be consistent with ↵Justin Clark-Casey (justincc)2011-05-211-1/+1
| | | | other test helper names
* 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-182-15/+47
| | | | | | | 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-152-25/+12
| | | | 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
|
* get rid of all traces of the now used mock service infrastructureJustin Clark-Casey (justincc)2011-04-151-1/+1
|
* simplify TestRezObject()Justin Clark-Casey (justincc)2011-04-141-17/+1
|
* Make scene object parts created by the test utils unit sized.Justin Clark-Casey (justincc)2011-04-141-3/+1
|
* simplify coalesced object tests by using existing scene object set up utilsJustin Clark-Casey (justincc)2011-04-141-34/+6
| | | | this change makes it possible to set an absolute position on a group before it is put into a scene.
* 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
* Adjust the quanterions used in the rez coalsced object tests to get sensible ↵Justin Clark-Casey (justincc)2011-04-131-4/+12
| | | | | | bounding box and offset numbers. Extend test to check position of objects in the rezzed coalescence.
* refactor: move code to obtain the coalescence size and object offsets into ↵Justin Clark-Casey (justincc)2011-04-131-1/+1
| | | | CoalescedSceneObjects from the serializer.
* Fix bug where rezzing coalesced objects would give all objects the same name ↵Justin Clark-Casey (justincc)2011-04-132-7/+11
| | | | | | | 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-132-5/+93
| | | | | | | | | 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.