Commit Graph

1701 Commits (031980782050127ff3f7877ba56f954ac22f98b2)

Author SHA1 Message Date
Huaiyu (Kitty) Liu 0319807820 Only ScriptCollidingStart is propogated from PE now. Code added to sync that event. 2011-06-04 15:09:41 -07:00
Huaiyu (Kitty) Liu 22f5f7962c Added code so that collision events are only forwarded from PSA to script engines. 2011-06-03 13:17:44 -07:00
Huaiyu (Kitty) Liu 8ab8969d82 Fixed the problem of non-recoganized localID in PhysicsCollision -- if it is 0,
it means it's land collision, not errors.
2011-06-03 12:06:58 -07:00
Huaiyu (Kitty) Liu 06d002cc3b On handling UpdatePrimProperties, if the properties updated are all in the terse-update
list, only trigger SOP.ScheduleTerseUpdate; otherwise, trigger ScheduleFullUpdate.
This is to prevent client managers to send big updates to clients, especially when a link-set
object moves around.
2011-06-03 11:35:37 -07:00
Huaiyu (Kitty) Liu ee7b965bf9 Commented out debug messages for VolumnDetect sync and collisions.
Took out the warning message when reported collided SOP/SP is no
longer is local Scene.
2011-06-02 10:58:39 -07:00
Huaiyu (Kitty) Liu e2b6c5d199 Added a new RegionSyncMessage, AvatarTeleportSameRegion, for PSA to inform PE to
update avatar positon after teleporting within the same region, and the logic
to send/receive the message. Teleporting within the same region seems working now
with remote PE.
2011-06-01 11:34:42 -07:00
Huaiyu (Kitty) Liu 3c58a1c244 Merge branch 'dev' into dev_demo_debug 2011-06-01 10:06:42 -07:00
Dan Lake 3a582a4cec TEMP: commented out agent limits in scene as a workaround for DSG demos 2011-06-01 10:01:04 -07:00
Huaiyu (Kitty) Liu a17f0a0ea1 Fixed the problem that notecard updating was not propagated -- now syned
across actors, bit viewers may not always get the correct update.
2011-05-31 16:23:06 -07:00
Huaiyu (Kitty) Liu dc572c770c Added files GridDialogModule.cs and IGridDialogModule.cs to git repository. 2011-05-27 15:07:02 -07:00
Huaiyu (Kitty) Liu 83e3a6a59a Added display of script compilation errors on ScriptEngine's concole (log),
as temp solution for getting the errors.
2011-05-27 14:43:04 -07:00
Huaiyu (Kitty) Liu 40809775dd Added IGridDialogModule and GridDialogModule to support dialog in DSG mode. 2011-05-27 10:54:31 -07:00
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