Commit Graph

1689 Commits (67eaa574a3e8832a54290677eee83c29dbe653ae)

Author SHA1 Message Date
Huaiyu (Kitty) Liu 67eaa574a3 started to add functions to support llDialog in DSG mode. 2011-05-27 09:56:41 -07:00
Huaiyu (Kitty) Liu 1cca4a978d In propagating PhysicsCollision event across actors, sending the list of UUIDs
of collision objects, instead of localIDs.
llVolumeDetect() now seems working, at least with integrated physics.
2011-05-26 14:54:03 -07:00
Huaiyu (Kitty) Liu c3c566cd24 Added synchronization of SOP property VolumnDetectActive, and proper actions following
its setting to true.
2011-05-26 14:15:23 -07:00
Huaiyu (Kitty) Liu 486497331c When Flags is updated on a prim, call UpdatePrimFlagsBySync to trigger appropriate
actions when flags are changed.
2011-05-26 12:17:17 -07:00
Huaiyu (Kitty) Liu d79a37e0ca Added reporting of LocalFlags property update in a few more spaces. 2011-05-25 16:27:32 -07:00
Huaiyu (Kitty) Liu a664835b03 Added implementation of SendInstantMessage() in RegionSyncAvatar, and
SendGridInstantMessageViaXMLRPC to IMessageTransferModule to enable
proper forwarding of instance messages.
2011-05-25 13:11:55 -07:00
Huaiyu (Kitty) Liu 41317dda8e Added AttachObjectBySync and calling it from AddNewSceneObjectBySync to
link avatar and attachments, and to update viewers properly.
2011-05-20 16:30:19 -07:00
Huaiyu (Kitty) Liu f1800824eb Set ScenePresence.IsSyncedAvatar to true in right places, so that only the client manager
that has the client connection will trigger agent crossing.
2011-05-19 16:31:02 -07:00
Huaiyu (Kitty) Liu ef4caa2c75 Merge branch 'dev' into dev_attachment 2011-05-19 13:46:35 -07:00
Huaiyu (Kitty) Liu ab0630ed81 Fixed code in handling setting attachedAvatar when its UUID.Zero.
Removed some obselete and debug code.
2011-05-19 13:44:15 -07:00
Dan Lake 973d0fcdaa Prevent checking for border crossings for synced avatars. This causes border crossings to happen only on the client manager where the real client is connected and the result is synced to other actors. 2011-05-19 13:32:27 -07:00
Robert Adams b0173de7ec Add localID to prim and avatar physics creation calls 2011-05-19 12:10:53 -07:00
Robert Adams 83d67391f1 Fix physical actor update by passing additional attributes when physics terse update happens 2011-05-18 08:30:59 -07:00
Huaiyu (Kitty) Liu 2f7ecf359b Merge branch 'dev' into dev_attachment 2011-05-17 10:49:35 -07:00
Huaiyu (Kitty) Liu 0e1efc3250 Added some debug messages for avatar border crossing. 2011-05-17 10:33:58 -07:00
Dan Lake a0a8654c07 Fix check for vanilla opensim. Should not check for border crossing on non-CM actors. 2011-05-17 10:31:35 -07:00
Dan Lake cd6f261d11 Merge branch 'master' into dev 2011-05-13 15:59:40 -07:00
Justin Clark-Casey (justincc) 5f9edd195c Fix broken inventory links on viewer 2.
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
2011-05-13 03:24:19 +01:00
Huaiyu (Kitty) Liu cf6c9e77a0 Removed old code in RegionSyncServer/Client that were used for object syncing in the asymmetric sync era. 2011-05-12 14:36:55 -07:00
Justin Clark-Casey (justincc) 9988bff9e3 Add a smidgen of method doc about the fact that item links reuse the asset id item slot 2011-05-12 03:18:53 +01:00
Justin Clark-Casey (justincc) ac12ace6f1 Prevent viewer 2 from creating a duplicate outfit inventory links.
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".
2011-05-12 02:46:13 +01:00
Huaiyu (Kitty) Liu ef66b29e95 Removed Bucket Sync code from SceneObjectPart. Bucket Sync should be gone now. 2011-05-11 16:42:38 -07:00
Huaiyu (Kitty) Liu 6c945ae38f Removed calling of AddOrUpdateObjectBySynchronization from Scene and SceneGraph.
Removed Bucket Sync related code from SceneObjectGroup.
2011-05-11 16:23:31 -07:00
Huaiyu (Kitty) Liu 4fc36b0748 Rewrote sender and receiver of SymmetricSyncMessage.MsgType.NewScript, where
per property encoding is used.
2011-05-11 15:56:55 -07:00
Huaiyu (Kitty) Liu ba948251fe Removed BucketSync code from RegionSyncModule. 2011-05-11 14:45:01 -07:00
Huaiyu (Kitty) Liu 7aaacbc4a6 Removed IScriptEngineToSceneConnectorModule interface.
Removed SendNewObject, SendDeleteObject, SendLinkObject, and SendDelinkObject that used Bucket Sync info.
2011-05-11 14:25:22 -07:00
Huaiyu (Kitty) Liu a7d7ca9b0f Removed ScriptEngine to Scene asymmetric sync code, and LocX,LocY in SOG.
Also, removed QuickInfo related code from RegionSyncUtil.cs.
2011-05-11 14:04:34 -07:00
Huaiyu (Kitty) Liu 9b955d8e95 Removed code in SceneGraph, SceneObjectGroup and SceneObjectPart that were either commented
out before, or no longer in use.

Base for removing BucketSyncInfo.
2011-05-11 12:03:02 -07:00
Huaiyu (Kitty) Liu 8497ecd28d Removed DSG added code for some properties that were not included in legacy SceneObjectSerializer implementation.
The file now is almost back to its legacy shape, with a few DSG edits.
2011-05-11 11:37:32 -07:00
Huaiyu (Kitty) Liu c979fdd3cb Added checking if PhysActor is null or not in passing list of updated properties, especially for code (e.g. ScheduleGroupForTerseUpdate) that
pass SceneObjectPartSyncProperties.Orientation as an updated property.
2011-05-11 11:27:51 -07:00
Huaiyu (Kitty) Liu 9f6c0e7622 Added code to handle the case where attachement objects are received, but the avatar they
attach to is not created locally yet.
2011-05-10 16:27:25 -07:00
Melanie 2b88d8f93f Add commands to delete objects by name, UUID, creator or owner 2011-05-09 01:28:23 +01:00
dahlia eaa33cf478 adjust avatar terse update packet filter distance error threshold based on avatar speed 2011-05-06 16:56:54 -07:00
Justin Clark-Casey (justincc) 04ecd748d9 remove further mono compiler warnings 2011-05-06 22:47:41 +01:00
Diva Canto 74e981e796 One more bug fix concerning library items that weren't being copied to user's inventory. Also commented verbose debug message. 2011-05-06 09:56:27 -07:00
Diva Canto eafc01cf8f Bug fix: iars under Library weren't being loaded. 2011-05-06 09:08:24 -07:00
Dan Lake 9556e0079b Merge branch 'master' into dev
Conflicts:
	OpenSim/Region/ClientStack/Linden/Caps/ObjectCaps/UploadObjectAssetModule.cs
	OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
	OpenSim/Region/Framework/Scenes/Scene.cs
2011-05-05 14:24:27 -07:00
Huaiyu (Kitty) Liu 75c97acab8 Added a few "try, catch" phrases to help catch errors when sync'ing new objects or updating prim properties. 2011-05-05 12:23:37 -07:00
Huaiyu (Kitty) Liu f5e648f54a Added AddNewSceneObjectByRez, which when called, won't trigger RegionSyncModule.SyncNewObject.
The caller of AddNewSceneObjectByRez will trigger that later when all object properties have
been set.
Also, added calling aggregateScriptEventSubscriptions() after AddNewSceneObjectBySync(), so that
collision events in PhysActor, after it is created, are subscribed.
2011-05-05 10:22:16 -07:00
Diva Canto 6d34932775 Merge branch 'master' into caps 2011-05-04 20:30:33 -07:00
Huaiyu (Kitty) Liu 854cb58d6d Revised SetSOPPropertyValue in RegionSyncModule.cs:
added calling aggregateScriptEventSubscriptions() after SOP.AggregateScriptEvents is set.
        for properties AttachedAvatar and AttachmentPoint, do extra work besides copying the property values.
Propogation of colission event and attachment (attached after avatar login) both working now.
2011-05-04 14:36:18 -07:00
Diva Canto 6c503e75ac Put the previous state back in the attachments in case the agent transfer fails. 2011-05-04 12:04:35 -07:00
Diva Canto a0f3b23065 Merge branch 'master' into caps 2011-05-04 07:31:32 -07:00
dahlia 4c59d57596 use getters instead of member variables in velocity network filter code and add some more descriptive comments. 2011-05-04 03:29:06 -07:00
dahlia 13ab00e45a adjust terse avatar update filtering to send updates when distance traveled does not match expected distance, rather than at a fixed time period. this should smooth avatar motion somewhat when moving in a straight line and velocity is constant. 2011-05-03 19:47:50 -07:00
Huaiyu (Kitty) Liu cd70c3ff56 Merge branch 'dev_perPropertyTS' into dev
Conflicts:
	OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
2011-05-03 16:55:23 -07:00
Huaiyu (Kitty) Liu 04d406a7c8 Added code to sync each SOP's LocalFlags property. Also, in DeselectPrim, feed the list of updated properties as FullUpdate,
instead of only the IsSelected property, since SOP's Name, Description and some other properties might just have been edited
by a user.
2011-05-03 14:48:14 -07:00
Huaiyu (Kitty) Liu f8bf6c2cc4 Removed a few debug messages from previous commit, then the problem shows up again. It seems due to the script
engine, after rezzing the pebbles and changing their shapes, the cached values in RegionSyncModule not properly
sync'ed with SOP's data.
2011-05-03 13:37:55 -07:00
Huaiyu (Kitty) Liu 54ba7a61f8 Added back some debug messages, seems now shapes are sync'ed properly again. 2011-05-03 13:16:39 -07:00
Huaiyu (Kitty) Liu bceafb4291 removed a bunch of debug messages, which were added to debug why shape was not synchronizing properly. 2011-05-02 15:17:17 -07:00