aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-03-03Fix bug where approximately half the time, attachments would rez only their ↵Justin Clark-Casey (justincc)1-7/+37
root prim until right clicked (or otherwise updated). The root cause of this problem was that multiple ObjectUpdates were being sent on attachment which differed enough to confuse the client. Sometimes these would eliminate each other and sometimes not, depending on whether the scheduler looked at the queued updates. The solution here is to only schedule the ObjectUpdate once the attachment code has done all it needs to do.
2010-02-22Changed asset CreatorID to a stringJohn Hurliman1-1/+1
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman1-13/+11
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
2010-02-14Plug a small holeMelanie1-0/+3
2010-02-01Don't try to start attachment scripts or send updates if the attachment ↵Justin Clark-Casey (justincc)1-2/+12
itself has been unsuccessful
2010-01-30* HGScene is no more.Diva Canto1-506/+13
* Moved a few key inventory access methods from Scene.Inventory to an IInventoryAccessModule module
2010-01-25Fix a problem where llDie() calls were sometimes leaving dead objects behind.Justin Clark-Casey (justincc)1-1/+3
When an object was deleted, the remove script instance call was aggregating the scripting events as normal. This would queue a full update of the prim before the viewer was notifed of the deletion of that prim (QuitPacket) On some occasions, the QuitPacket would be sent before the full update was dequeued and sent. In principle, you would think that a viewer would ignore updates for deleted prims. But it appears that in the Linden viewer (1.23.5), a prim update that arrives after the prim was deleted instead makes the deleted prim persist in the viewer. Such prims have no properties and cannot be removed from the viewer except by a relog. This change stops the prim event aggregation call if it's being deleted anyway, hence removing the spurious viewer-confusing update.
2010-01-13Several more buglets removed.Diva Canto1-2/+2
2010-01-11Fixed a couple of bugs with Appearance. Appearance is all good now.Diva Canto1-2/+2
2010-01-11OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto1-1/+1
2010-01-10Remove all references to master avatar, replacing with estate owner whereMelanie1-6/+0
appropriate. This changes the behavior of the REST plugins and RemoteAdmin's region creation process.
2010-01-10* OMG! All but one references to UserProfileCacheService have been rerouted!Diva Canto1-7/+3
* HG is seriously broken here * Compiles. Untested.
2010-01-07* Finished SimulationServiceConnectorDiva Canto1-2/+8
* Started rerouting calls to UserService. * Compiles. May run.
2010-01-04When rezzing a no-copy object on a no-rez parcel, the object vanishes fromMelanie1-0/+7
inventory until relog. This patch corrects this and puts the item back into inventory.
2010-01-01The Library Service is now working. UserProfileCacheService.LibraryRoot is ↵Diva Canto1-5/+7
obsolete. Didn't delete it yet to avoid merge conflicts later -- want to stay out of core as much as possible.
2009-12-22Add a data path for error messagesroot1-6/+12
Committed from my other box where git is not configured properly Signed-off-by: Melanie <melanie@t-data.com>
2009-12-04Allow terrain heightmaps to be loaded directly from URIs via the remote ↵Justin Clark-Casey (justincc)1-0/+6
admin plugin See http://opensimulator.org/mantis/view.php?id=4418 Thanks StrawberryFride See
2009-12-02Change default destination of deleted items to the trash folder. EverythingMelanie1-3/+12
else still goes to L&F
2009-11-13undo previous changesdahlia1-14/+0
add a GetGroupByPrim() method to Scene.cs delete a redundant method
2009-11-09* for iars, allow item names/folders including "/" to be escaped using "\/"Justin Clark-Casey (justincc)1-1/+0
* also, "\" has to be escaped as "\\" * add item name unit test for escaped characters
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-4/+1
unknown asset type, and log an error if it ever does happen
2009-11-04Backport the fixes to WebFetchInventoryDescendents to the UDPMelanie1-1/+7
InventoryDescendents packet. Testing has shown that UDP inventory now works flawlessly and, unlike CAPS inventory, doesn't download the entire agent inventory on start. Neither does it incessantly re-request folder NULL_KEY. Therefore, I have disabled CAPS inventory.
2009-10-19* Change Util.FireAndForget to use ThreadPool.UnsafeQueueUserWorkItem(). ↵John Hurliman1-16/+5
This avoids .NET remoting and a managed->unmanaged->managed jump. Overall, a night and day performance difference * Initialize the LLClientView prim full update queue to the number of prims in the scene for a big performance boost * Reordered some comparisons on hot code paths for a minor speed boost * Removed an unnecessary call to the expensive DateTime.Now function (if you *have* to get the current time as opposed to Environment.TickCount, always use DateTime.UtcNow) * Don't fire the queue empty callback for the Resend category * Run the outgoing packet handler thread loop for each client synchronously. It seems like more time was being spent doing the execution asynchronously, and it made deadlocks very difficult to track down * Rewrote some expensive math in LandObject.cs * Optimized EntityManager to only lock on operations that need locking, and use TryGetValue() where possible * Only update the attachment database when an object is attached or detached * Other small misc. performance improvements
2009-10-14* Replaced (possibly broken?) math for calculating the unix timestamp in ↵John Hurliman1-3/+3
MySQLAssetData with Utils.DateTimeToUnixTime() * Disabled UpdateAccessTime() function since it was only writing zeros anyways. This gave me a significant performance improvement for startup times and avatar logins in standalone mode * Load attachments asynchronously so avatars with lots of attachments don't have to race the timeout clock to login
2009-10-12* Fixes http://opensimulator.org/mantis/view.php?id=4225Diva Canto1-2/+7
* Fixes http://opensimulator.org/mantis/view.php?id=3959 * Allows for viewing inventory textures outside home grid
2009-10-06* One more debug message on FetchInventoryDescendantsDiva Canto1-0/+1
* More streams close on finally
2009-09-30Commit initial version of KittoFlora's vehicle changesopensim1-1/+1
2009-10-01Formatting cleanup.Jeff Ames1-1/+1
2009-09-13Change the type value for given folders to -1. Prevents inventory blowupsMelanie1-1/+1
2009-09-08* Fixes a 'take object from mega region' and rez it in a regular region.. ↵Teravus Ovares (Dan Olivares)1-1/+35
and have it appear 5 regions over bug by limiting the stored position in the asset to Constants.RegionSize. The stored position in the asset gets overwritten anyway by the rezzing routine, but at least this way, there's no chance of the objects border crossing before the rezzing routine finishes.
2009-09-01Baad git, baad baad git.Melanie1-1/+1
2009-09-01Experimental. Set attachment flag early on rezzing from inventory.Melanie1-0/+3
2009-08-28minor: formatting and commentsJustin Clark-Casey (justincc)1-1/+3
2009-08-22* Fixes mantis http://opensimulator.org/mantis/view.php?id=4044. Turns out ↵Diva Canto1-13/+5
folders were never being removed from trash when they were singled out for purging in trash. They were being removed when Trash was purged as a whole. That behavior is now fixed for the new InventoryService set. * Removed left-overs from AssetInventoryServer.
2009-08-19Fixes GetItem and GetFolder for SQLite. Turns out some methods were no-op in ↵Diva Canto1-2/+2
SQlite. Fixes most grief in http://opensimulator.org/mantis/view.php?id=4035 http://opensimulator.org/mantis/view.php?id=4027
2009-08-19Fixes GetRootFolder for normal standalone, which was being incorrectly ↵Diva Canto1-2/+2
redirected to the wrong object. Probably fixes most grief in http://opensimulator.org/mantis/view.php?id=4035 http://opensimulator.org/mantis/view.php?id=4027
2009-08-19Added MoveItems, which is most useful upon viewer-delete inventory ↵Diva Canto1-27/+4
operation. Moving a batch of items is a 1-time operation. Made it async anyway, so that the viewer doesn't wait in case the DB layer is dumb (which is the case currently).
2009-08-19A better purge of trash folder.Diva Canto1-7/+24
2009-08-18jhurliman's patch in http://opensimulator.org/mantis/view.php?id=4024Diva Canto1-12/+23
2009-08-16IAvatarFactory.UpdateDatabase gets the assetID and not the object's inworld ↵Diva Canto1-1/+3
UUID.
2009-08-16Making attachments work again. Tons of debug more. This needs more testing ↵Diva Canto1-1/+3
and a lot of cleaning.
2009-08-15Changed FromAssetID to FromItemIDDiva Canto1-4/+4
2009-08-13Renamed QueryItem/QueryFolder to GetItem/GetFolder. The word 'query' ↵Diva Canto1-11/+11
starting to get on my nerves.
2009-08-13Inventory redirects from CachedUserInfo to InventoryService COMPLETE!Diva Canto1-133/+61
2009-08-12Redirected all calls to CachedUserProfile methods to the inventory service. ↵Diva Canto1-620/+395
Redirection of the RootFolder property is still todo. This compiles but probably inventory will be inconsistent.
2009-08-04 This change adds support for the attach event in scripts.Alan Webb1-0/+6
[1] Added a new OnAttach event to Scene/EventManager [2] Hooked up existing attach event handler in XEngine. [3] Modified SceneGraph and Scene.Inventory to trigger attach events at the appropriate places. I was forced to distribut the changes across two files because of the way attach processing is distributed across the two files. [4] In the case of RezSingleAttachmentFromInventory it is necessary to handle event scheduling in a special way. There is no synchronous path available, so the fact that this object is attached, and who it is attached to, is cached when the ScriptInstance is created. When the script is started, the attached handler is driven after on_rez (but before changed, this should be reviewed). Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-07-27Preserve the creator of items copied in inventory.Melanie Thielker1-7/+7
Fixes Mantis #3946
2009-07-17* This should fix the phantom prim from attachments rezzing.Teravus Ovares1-0/+3
* fixes mantis #3896 * fixes mantis #3898
2009-07-15Bounding Box/find rez from inventory point code now seems to be working ↵MW1-1/+6
correctly. So next step is to clean up that code and wait for bug reports.
2009-07-13Changed it so that when rezzing prims from inventory, a bounding box ↵MW1-1/+1
containing all the prims in the group is used for working out the rezzing point. So that none of the child prims are underground. Or at least thats what it is meant to do, still needs more testing and there are still some issues with link sets getting rezzed too high above the ground/target prim.