Commit Graph

289 Commits (bcd7f300894ccfe330fb74b33e05418b976b6725)

Author SHA1 Message Date
Dan Lake bcd7f30089 Fixed RegionSyncAvatar changed definition for SendTextBoxRequest in IClientAPI 2012-01-24 17:26:37 -08:00
Robert Adams 5a78c715ea reorder the lookup of physics actor since looking up a SOG by UUID is VERY slow if the SOG does not exist 2011-07-13 10:42:25 -07:00
Huaiyu (Kitty) Liu f029bd7782 Reimplement AddNewSceneObjectBySync in SceneGraph.cs and DeleteSceneObjectBySync in Scene.cs,
so that they are eventually calling OpenSim's implementation of AddSceneObject and DeleteSceneObject.

Also, fixed a bug in syncing position of attachments.
2011-06-30 16:44:01 -07:00
Huaiyu (Kitty) Liu 5e8f24a44a Remove some debug messages for syncing property shape. 2011-06-29 16:07:38 -07:00
Huaiyu (Kitty) Liu 1da0f6e9d9 Changed object type of the copy of SOP property "Shape" from string to PrimitiveBaseShape,
in RegionSyncModule's cache of each SOP (see PropertySyncInfo.ToOSDMap(), FromOSDMap()).
2011-06-29 11:41:46 -07:00
Huaiyu (Kitty) Liu 64b39bf0f3 Added some debug messages. 2011-06-29 10:11:21 -07:00
Huaiyu (Kitty) Liu 981ac91393 Changed the writer/reader access functions to m_primsInSync in PrimSyncInfoManager. 2011-06-28 14:47:56 -07:00
Huaiyu (Kitty) Liu 9817734adf Line ending conversions. 2011-06-28 10:59:51 -07:00
Dan Lake 974292996a * Switched Intel license for OpenSim contributors in DSG files
* Added Intel Corporation copyright for DSG to contributors.txt file
* Removed non-DSG bullet development files
2011-06-17 15:21:54 -07:00
Dan Lake b6d93d0c40 Merge branch 'dev' of ssh://island.sciencesim.com/home/sceneapi/sceneapi into dev
Conflicts:
	OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs
	OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/GridDialogModule.cs
2011-06-15 15:26:17 -07:00
Dan Lake 66f905b09c Fixed up merge conflicts from master due to changes in sending IMs
between DSG regions
2011-06-15 15:05:17 -07:00
Dan Lake 8791e5dac0 Working out merge errors with master 2011-06-15 13:43:02 -07:00
Huaiyu (Kitty) Liu 941cec5548 Added code to propagate ScriptLandCollidingStart, ScriptLandColliding, and
ScriptLandCollidingEnd events.
2011-06-14 16:48:21 -07:00
Huaiyu (Kitty) Liu 57a42508ec Added AbsolutePosition as another SOP property to sync across, yet made
it a group property, so that only RootPart will trigger a sync message
for this property. An optimization to avoid sending many position updates
for linkset objects.
2011-06-14 14:53:12 -07:00
Huaiyu (Kitty) Liu 7c542be833 When TaskInventory value is synced across, each receiver will also call
Inventory.ForceInventoryPersistence, so that PSA will see HasInventoryChanged
set to true and do proper persistence backup.

Also, added ScheduleSyncUpdate in UpdateInventoryItem, so that the new
TaskInventory item will be propagated to all actors.
2011-06-06 15:22:23 -07:00
Huaiyu (Kitty) Liu d28c857232 Added code to also propagate ScriptColliding and ScriptCollidingEnd events. 2011-06-06 11:39:22 -07:00
Huaiyu (Kitty) Liu 90abbe26d3 Added code in SyncDebug to debug the save-and-refire of collision_start event. 2011-06-05 11:18:35 -07:00
Huaiyu (Kitty) Liu fb716dbd68 Added code to save and refire collision_start event if the colliders are not found in
local scene yet.
2011-06-04 23:17:56 -07:00
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 7b8db83bd3 Edited a few debug messages. 2011-06-03 13:34:18 -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 fa892e4afb Fixed bug(s) in CompareAndUpdateSOPGroupPosition and CompareAndUpdateSOPPosition
that may cause script engine to crash.
2011-06-02 16:37:01 -07:00
Huaiyu (Kitty) Liu fdb4e92dc3 Added/edited a few debug messeges to provide more info for debugging. 2011-06-02 13:35:20 -07:00
Huaiyu (Kitty) Liu fd99eea0af Added lock(m_syncRoot) in handling NewAvatar messages, so that adding/removing
from RemoveAvatars list are serialized.
2011-06-02 12:00:03 -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 1cbbb010b0 Edited a warning message in collision event sync, to be more informational. 2011-06-01 14:19:27 -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
Robert Adams bfb1068eca Fix for avatar jiggling in place and scooting after stop 2011-05-31 17:14:24 -07:00
Huaiyu (Kitty) Liu 0be7f9d804 Fixed bug in GridDialogModule that sends infinite Dialog messages.
Added ScheduleFullUpdate to llSetObjectName, so that the property change is captured by sync module.
2011-05-31 12:54:22 -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 d375491142 Fixed bugs in GridDialogModule.cs, llDialog now works in DSG mode in preliminary tests. 2011-05-27 14:10:36 -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 8fa03afb5c Added forwarding of teleport request, if the teleport is within the same region,
from CM to PSA. Both the hosting CM and PSA will trigger the same region
teleport code, PSA will then sync the new position to other CMs.
2011-05-25 15:47:00 -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
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 0e1efc3250 Added some debug messages for avatar border crossing. 2011-05-17 10:33:58 -07:00
Huaiyu (Kitty) Liu 3f07bf204b Commented out a line of code in RegionSyncServerModule so that on CM, SE and other actors,
scene.RegionSyncEnabled will be set and kept as "true" as desired.
2011-05-16 09:30:03 -07:00
Huaiyu (Kitty) Liu d04c298c0b Removed code for handling UpdatedObject sync messages. We no longer send this message. 2011-05-12 15:47:04 -07:00