aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor Scene.RezObject() to use AddNewSceneObject() rather than ↵Justin Clark-Casey (justincc)2011-05-211-13/+1
| | | | copy/pasting code with small differences
* don't throw a null reference if an inventory link target doesn't exist when ↵Justin Clark-Casey (justincc)2011-05-171-1/+4
| | | | we're inspecting in order to send the required inventory folders
* Fix adding/removing/replacing outfits in viewer 2Justin Clark-Casey (justincc)2011-05-141-18/+27
| | | | | | | | To get this to work, I had to disable the dupe link check I put in a couple of commits ago. When the viewer adds wearables to an existing outfit, it first requests deletes of all the existing links before creating a new set. Since these messages are async, the creates were being received before the deletes had a chance to complete, resulting in missing current outfit links. However, the dupe check shouldn't be as important now that broken links have been fixed - it was the broken links that were causing the client to create dupes. Tested on kokua 0.1.0 WIP and SL 2.6.3. I now have no problems managing outfits on my standalone.
* Fix broken inventory links on viewer 2.Justin Clark-Casey (justincc)2011-05-131-2/+19
| | | | | It appears that if the viewer requests a folder containing links, we must also send the folders that contain the link targets first. This was tested with Kokua 0.1.0 WIP though I predict it will also work with other viewer 2s
* Add a smidgen of method doc about the fact that item links reuse the asset ↵Justin Clark-Casey (justincc)2011-05-121-0/+4
| | | | id item slot
* Prevent viewer 2 from creating a duplicate outfit inventory links.Justin Clark-Casey (justincc)2011-05-121-2/+29
| | | | | | | I believe this is safe since there is a 1-1 correspondence between link item and worn item (i.e. you can't be wearing the same item at two spots simultaneously in one outfit). This should stop lots of duplicate links being created when viewer 2 is used. However, this doesn't prevent broken inventory links, which I believe is timing related since the effect is not consistent (e.g. keep relogging and the viewer should end up seeing them correctly) . I think we actually see this problem on viewer 1 as well. It might be easier just to implement the Fetch*2 inventory caps which are documented at http://wiki.secondlife.com/wiki/Inventory_API. WebFetch* has been deprecated by Linden Lab since viewer 2.5.1 and according to the sl wiki, "has numerous bugs".
* One more bug fix concerning library items that weren't being copied to ↵Diva Canto2011-05-061-1/+1
| | | | user's inventory. Also commented verbose debug message.
* Stop CHANGED_INVENTORY firing twice if a notecard is edited in prim.Justin Clark-Casey (justincc)2011-04-281-0/+4
| | | | | | Addresses http://opensimulator.org/mantis/view.php?id=5444 Fix is to stop the asset transaction calling UpdateInventoryItem() since the caller is doing it anyway, which is more correct. This did not effect scripts.
* Fix a bug where physical objects rezzed with an initial velocity by script ↵Justin Clark-Casey (justincc)2011-04-281-0/+6
| | | | | | | | do not receive this velocity. This is a minimal fix for the 0.7.1 release, pending a non copy/paste solution. This hopefully addresses http://opensimulator.org/mantis/view.php?id=5457 The bug was introduced in commit 3ba5eeb
* refactor: simplify bRayEndIsIntersection boolean set from ↵Justin Clark-Casey (justincc)2011-04-121-12/+1
| | | | RayEndIsIntersection byte
* If an object is rezzed directly from a prim inventory then give it the ↵Justin Clark-Casey (justincc)2011-04-121-1/+1
| | | | rotation it was stored with.
* Allow a null rotation to be passed in to RezObject so that we can control ↵Justin Clark-Casey (justincc)2011-04-121-7/+13
| | | | whether to use the serialized rotation or not. Not used yet.
* Fix (add) ability to rez objects by dragging them out of another prim's ↵Justin Clark-Casey (justincc)2011-04-121-5/+54
| | | | | | | | 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.
* Make CHANGED_OWNER work for deeding and god-mode in-world changeMelanie2011-04-031-0/+4
|
* Fix a few little thingsMelanie2011-02-271-0/+2
|
* Dont' trust the viewer! Fix a permission slam error caused by trustingMelanie2011-01-121-1/+0
| | | | the viewer too much.
* Fix direct item give permissionsMelanie2011-01-121-5/+39
|
* Partial permissions fix for boxed items.Melanie2011-01-121-0/+10
|
* Fix up a prior fix (refix the fixed fix :)Melanie2010-12-301-1/+1
|
* * Cleanup from a commit a while ago.Teravus Ovares (Dan Olivares)2010-12-231-4/+10
|
* Make prim inventories a bit more saneMelanie2010-12-211-17/+6
|
* WARNING: LOTS OF CONFIGURATION CHANGES AFFECTING PRIMARILY HG CONFIGS. Added ↵Diva Canto2010-11-251-0/+4
| | | | 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.
* add basic tests to check that under default permissions module owner can ↵Justin Clark-Casey (justincc)2010-11-221-2/+7
| | | | delete objects and that non-owners (who are also not administrators, etc.) cannot
* Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto2010-11-211-7/+13
| | | | | | 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).
* Plumb the path for multiple object deletesMelanie2010-10-061-35/+9
|
* Restrict inventory items added in a transaction to folder belongingMelanie2010-09-271-0/+6
| | | | to the connected client.
* Refactor script create permission into the perms moduleMelanie2010-09-211-10/+0
|
* 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-6/+6
|
* First pass at cleaning up thread safety in EntityManager and SceneGraphJohn Hurliman2010-09-101-1/+2
|
* Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)2010-09-071-6/+1
| | | | | | | | | | Previously, Scene.Inventory.DeRezObjects() forced the persistence of prims before deletion. This is necessary so that freshly delinked prims can be deleted (otherwise they remain as parts of their old group and reappear on server restart). However, DeRezObjects() deleted to user inventory, which is required by llDie() or direct region module unlink and deletion. Therefore, forced persistence has been pushed down into Scene.UnlinkSceneObject() to be more general, this is still on the DeRezObjects() path. Uncommented TestDelinkPersistence() since this now passes. Tests required considerable elaboration of MockRegionDataPlugin to reflect underlying storing of parts.
* Move code that allows llGiveInvetory() to move item into appropriate system ↵Justin Clark-Casey (justincc)2010-09-041-8/+40
| | | | | | | 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.
* Create Scene.Inventory.cs.AddInventoryItem(InventoryItemBase item)Justin Clark-Casey (justincc)2010-09-041-8/+27
| | | | The agentID in AddInventoryItem(UUID agentID, InventoryItemBase item) is redundant since it's contained in item.Owner, and it doesn't make sense for agentID != item.Owner, hence the method is deprecated.
* 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 liveness by operating on list copies of SOG.Children where appropriateJustin Clark-Casey (justincc)2010-08-281-10/+12
|
* refactor: Move Scene.Inventory.UpdateKnownItem() into Attachments module ↵Justin Clark-Casey (justincc)2010-08-261-47/+0
| | | | since this appears to relate solely to attachments
* Improve consistency of locking for SOG.m_parts in order to avoid race ↵Justin Clark-Casey (justincc)2010-08-261-8/+13
| | | | conditions in linking and unlinking
* refactor: Push item retrieval and fixing part of Scene.RezObject() down into ↵Justin Clark-Casey (justincc)2010-08-251-53/+6
| | | | SceneObjectPartInventory
* Split out actual scene object insertion code from Scene.Inventory.RezObject ↵Justin Clark-Casey (justincc)2010-08-241-24/+9
| | | | | | | | and move into SceneGraph.AddNewSceneObject() The new SceneGraph method is more consumable by region modules that want to extract objects from inventory and add them to the scene in separate stages. This change also reduces the number of redundant client updates scheduled when an object is rezzed directly by a script or region module This code does not touch direct rez by a user
* refactor: make RezObject() more readableJustin Clark-Casey (justincc)2010-08-241-69/+68
|
* Add automated test at the opensim 'api' level to check that a given item ↵Justin Clark-Casey (justincc)2010-08-241-1/+1
| | | | | | goes to the correct directory Also removes some mono compiler warnings
* minor: some doc for the MoveTaskInventoryItem method in Scene.Inventory.csJustin Clark-Casey (justincc)2010-08-231-1/+5
|
* Remove various warnings and improve logging messages. No functional changes.Justin Clark-Casey (justincc)2010-08-231-2/+4
|
* minor: Correct string format in "Can't find linkset root prim" messageJustin Clark-Casey (justincc)2010-08-191-1/+1
|
* refactor: move binary statistics logging from scene into separate region moduleJustin Clark-Casey (justincc)2010-08-131-4/+5
|
* refactor: move Scene.PerformObjectBuy into BuySellModuleJustin Clark-Casey (justincc)2010-08-131-1/+1
|
* When a god uses mass permission setting, the V bit is cleared from nextMelanie Thielker2010-07-201-4/+7
| | | | | perms, rendering the item unmoveable for the next owenr. Make god mods conform to the rules, too.
* prevent hacked viewers from being able to delete arbitrary items from anyMelanie Thielker2010-07-201-3/+18
| | | | | prim. Allow friends with perms and shared group members to move or copy things out of prims
* Fix a few permissions vulnerability. Owners could cause permissionsMelanie Thielker2010-07-201-3/+32
| | | | escalation on items contained in prims using a hacked viewer
* Fixes mantis #4870.Diva Canto2010-07-141-1/+7
|