4acd23f0f9 
								
							
								 
							
						 
						
							
							
								
								In SyncOutPrimUpdates(), calling UpdatePrimSyncInfoByLocal again before calling  
							
							... 
							
							
							
							SendPrimPropertyUpdates, to make sure local updates are sync'ed into
RegionSyncModule's cache. 
							
						 
						
							2011-05-03 14:25:05 -07:00  
				
					
						
							
							
								 
						
							
							
								eeb09f33e3 
								
							
								 
							
						 
						
							
							
								
								Add locking on m_primSyncInfoLock in InitPropertiesBySync and InitPropertiesSyncInfoFromOSDMap.  
							
							
							
						 
						
							2011-05-03 13:54:59 -07:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								54ba7a61f8 
								
							
								 
							
						 
						
							
							
								
								Added back some debug messages, seems now shapes are sync'ed properly again.  
							
							
							
						 
						
							2011-05-03 13:16:39 -07:00  
				
					
						
							
							
								 
						
							
							
								c07c46c147 
								
							
								 
							
						 
						
							
							
								
								For debugging shape not sync'ed properly problem: adding back debug messages in  
							
							... 
							
							
							
							CompareHashedValue_UpdateByLocal
       	HandleUpdatedPrimProperties 
							
						 
						
							2011-05-02 16:48:25 -07:00  
				
					
						
							
							
								 
						
							
							
								7157398d77 
								
							
								 
							
						 
						
							
							
								
								For debugging shape not sync'ed properly problem: adding back debug messages in  
							
							... 
							
							
							
							CompareHashedValue_UpdateByLocal
	SetSOPPropertyValue 
							
						 
						
							2011-05-02 16:39:03 -07:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								49139f53bb 
								
							
								 
							
						 
						
							
							
								
								Replaced all calling to SendLinkObject to SyncLinkObject.  
							
							... 
							
							
							
							Added a bunch of debugging message to keep track of Shape updates synchronization. 
							
						 
						
							2011-04-29 16:49:53 -07:00  
				
					
						
							
							
								 
						
							
							
								cb6630aa35 
								
							
								 
							
						 
						
							
							
								
								For functions in PrimSyncInfo that access per property sync info, adding checking  
							
							... 
							
							
							
							of if m_propertiesSyncInfo[property] exists before accessing it. 
							
						 
						
							2011-04-22 16:57:22 -07:00  
				
					
						
							
							
								 
						
							
							
								3076761d77 
								
							
								 
							
						 
						
							
							
								
								For group properties, only trigger SendPrimPropertyUpdates for the rootpart,  
							
							... 
							
							
							
							to avoid multiple updates (each through a different part in the SOG) to
update the same property.
Also, change m_log in PrimSyncInfo and PropertySyncInfo to a class static
variable, to reduce initiation cost. 
							
						 
						
							2011-04-22 10:39:36 -07:00  
				
					
						
							
							
								 
						
							
							
								68375822cd 
								
							
								 
							
						 
						
							
							
								
								Fixed code so that when GroupPosition or Position is synced between PrimSyncInfoManager  
							
							... 
							
							
							
							and SOP, the other will be udpated properly as well.
Also, in SOP.aggregateScriptEvents, add AggregateScriptEvents as one property that has changed. 
							
						 
						
							2011-04-21 17:44:07 -07:00  
				
					
						
							
							
								 
						
							
							
								b182e3bf30 
								
							
								 
							
						 
						
							
							
								
								In SyncLinkObject and SyncDelinkObject, copy property values from linked/delinked SOP  
							
							... 
							
							
							
							values to those in PrimSyncInfo, before sending out sync messages. 
							
						 
						
							2011-04-20 17:34:55 -07:00  
				
					
						
							
							
								 
						
							
							
								1c1d3893fc 
								
							
								 
							
						 
						
							
							
								
								DelinkFromGroup now calls AddNewSceneObjectByDelink, to avoid calling SyncNewObject later.  
							
							... 
							
							
							
							Also, replace all "SYMMETRIC SYNC" with "DSG SYNC" in comments. 
							
						 
						
							2011-04-20 14:59:06 -07:00  
				
					
						
							
							
								 
						
							
							
								a5ebd04d9d 
								
							
								 
							
						 
						
							
							
								
								Fixed code in SyncDeLinkObject and HandleSyncDelinkObject. Delinking a few linked objects seems working.  
							
							
							
						 
						
							2011-04-19 15:55:04 -07:00  
				
					
						
							
							
								 
						
							
							
								3676b5fbef 
								
							
								 
							
						 
						
							
							
								
								1. Replaced SendLinkObject and SendDeLinkObject with SyncLinkObject and SyncDeLinkObject  
							
							... 
							
							
							
							2. Replaced HandleLinkObject and HandleDelinkObject with HandleSyncLinkObject and HandleSyncDelinkObject.
LinkObject seems sync'ed well across actors. 
							
						 
						
							2011-04-19 14:49:47 -07:00  
				
					
						
							
							
								 
						
							
							
								3d7cece491 
								
							
								 
							
						 
						
							
							
								
								Include serialization of Scale in SOP.Shape (it's a sub property in Shape, and also a seperate SOP property,  
							
							... 
							
							
							
							both pointing to the same copy), so that now serialization of Shape has all its sub properties. 
							
						 
						
							2011-04-19 11:11:14 -07:00  
				
					
						
							
							
								 
						
							
							
								85085977ac 
								
							
								 
							
						 
						
							
							
								
								Fixed a bug in ScheduleTerseUpdate, and added a few debug lines.  
							
							
							
						 
						
							2011-04-19 09:52:55 -07:00  
				
					
						
							
							
								 
						
							
							
								28f401d95a 
								
							
								 
							
						 
						
							
							
								
								Added RegionSyncModule.ProcessAndEnqueuePrimUpdatesBySync, and revised functions relavant  
							
							... 
							
							
							
							to processing and forwarding prim updates. Code good for 2 CM and PSA to sync on NewObject
and UpdatedPrimProperties. 
							
						 
						
							2011-04-18 15:54:24 -07:00  
				
					
						
							
							
								 
						
							
							
								8b08e4b176 
								
							
								 
							
						 
						
							
							
								
								Added sync message type UpdatedPrimProperties, to send prim property updates.  
							
							... 
							
							
							
							Sender/receiver functions most in place, need more testing. 
							
						 
						
							2011-04-15 17:13:56 -07:00  
				
					
						
							
							
								 
						
							
							
								e84a7157b4 
								
							
								 
							
						 
						
							
							
								
								Added SyncDeleteObject to replace calling to SendDeleteObject.  
							
							
							
						 
						
							2011-04-15 15:00:02 -07:00  
				
					
						
							
							
								 
						
							
							
								21c48088d8 
								
							
								 
							
						 
						
							
							
								
								Added SyncNewObject() to IRegionSyncModule, to be called when new object is  
							
							... 
							
							
							
							added to local SceneObject (by local operation, not by receiving sync message).
Code seems good for initial sync when one CM connects to PSA. 
							
						 
						
							2011-04-15 12:15:28 -07:00  
				
					
						
							
							
								 
						
							
							
								9dfc0e92b8 
								
							
								 
							
						 
						
							
							
								
								Changed Enum type SceneObjectPartProperties to SceneObjectPartSyncProperties,  
							
							... 
							
							
							
							to indicate they are the properties synchronzed by the sync protocol.
Also, added UUID to PrimSyncInfo.
Encode/Decode SOP to/from OSDmap seems working fine now. 
							
						 
						
							2011-04-15 10:42:57 -07:00  
				
					
						
							
							
								 
						
							
							
								d0938f57eb 
								
							
								 
							
						 
						
							
							
								
								Added PrimSyncInfo.SetSOPPropertyValue(), and fixed bugs in decoding SOP (PhysActor properties).  
							
							
							
						 
						
							2011-04-14 17:09:50 -07:00  
				
					
						
							
							
								 
						
							
							
								b9bfe6ba51 
								
							
								 
							
						 
						
							
							
								
								Fixed bugs in encoding/decoding SOG and SOPs, with per property sync info.  
							
							
							
						 
						
							2011-04-13 13:43:25 -07:00  
				
					
						
							
							
								 
						
							
							
								c244bbe143 
								
							
								 
							
						 
						
							
							
								
								Majority of SOP encoding/decoding (per property and SyncInfo based) functions are in place. Need testing.  
							
							
							
						 
						
							2011-04-12 15:05:51 -07:00  
				
					
						
							
							
								 
						
							
							
								9d3de471a5 
								
							
								 
							
						 
						
							
							
								
								SyncOutPrimUpdates linked with EncodePrimProperties and SendPrimUpdateToRelevantSyncConnectors.  
							
							
							
						 
						
							2011-04-11 15:43:58 -07:00  
				
					
						
							
							
								 
						
							
							
								a06dad37fd 
								
							
								 
							
						 
						
							
							
								
								Added ProcessAndEnqueuePrimUpdateByLocal and SyncOutPrimUpdates to  
							
							... 
							
							
							
							RegionSyncModule, and PrimSyncInfo.PropertyToOSD. 
							
						 
						
							2011-04-11 14:36:38 -07:00  
				
					
						
							
							
								 
						
							
							
								a06ddb9e88 
								
							
								 
							
						 
						
							
							
								
								Started to link RegionSyncModule.RecordPrimUpdatesByLocal with functions  
							
							... 
							
							
							
							in PrimSyncInfoManager. To to finished. 
							
						 
						
							2011-04-08 17:10:09 -07:00  
				
					
						
							
							
								 
						
							
							
								2f41b216d3 
								
							
								 
							
						 
						
							
							
								
								Updated PrimSyncInfo.CompareAndUpdateHashedValueByLocal, to overwrite SOP's  
							
							... 
							
							
							
							properties Shape and TaskInventory if PrimSyncInfo's value has newer timestamp. 
							
						 
						
							2011-04-08 15:55:40 -07:00  
				
					
						
							
							
								 
						
							
							
								7c033f9d08 
								
							
								 
							
						 
						
							
							
								
								Added calling ScheduleFullUpdate() after SendFullUpdateToAllClients() is called in  
							
							... 
							
							
							
							several places in LSL_Api.cs. 
							
						 
						
							2011-04-08 15:16:39 -07:00  
				
					
						
							
							
								 
						
							
							
								2dccc3205d 
								
							
								 
							
						 
						
							
							
								
								Implemente PrimSyncInfo.CompareAndUpdateHashedValueByLocal, updated UpdatePropertiesByLocal  
							
							... 
							
							
							
							and a few update related functions in PrimSyncInfo. 
							
						 
						
							2011-04-08 15:08:56 -07:00  
				
					
						
							
							
								 
						
							
							
								2f17a9d224 
								
							
								 
							
						 
						
							
							
								
								Added more functions to PrimSyncInfo, and added class PrimSyncInfoManager.  
							
							... 
							
							
							
							Also, commented out a few not sync-relavent properties from SceneObjectPartProperties. 
							
						 
						
							2011-04-07 15:34:09 -07:00  
				
					
						
							
							
								 
						
							
							
								fe3d4ec9a8 
								
							
								 
							
						 
						
							
							
								
								Re-implemented SOP.ScheduleFullUpdate and SOP.ScheduleTerseUpdate, calling RecordPrimUpdatesByLocal  
							
							... 
							
							
							
							to record updated values and timestamp of SOP's updated properties.
Also, removed some code that had been commented out before. 
							
						 
						
							2011-04-06 14:38:14 -07:00  
				
					
						
							
							
								 
						
							
							
								2bea8bb4bc 
								
							
								 
							
						 
						
							
							
								
								Added class PropertySyncInfo and PrimSyncInfo in RegionSyncModule.  
							
							
							
						 
						
							2011-04-06 12:23:04 -07:00  
				
					
						
							
							
								 
						
							
							
								e5a022c8d7 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'dev' of ssh://island.sciencesim.com/home/sceneapi/sceneapi into dev  
							
							
							
						 
						
							2011-04-04 11:26:50 -07:00  
				
					
						
							
							
								 
						
							
							
								d71b49c2a4 
								
							
								 
							
						 
						
							
							
								
								Force HandleTerrainUpdate message to set the terrain no matter what the timestamp. This temp fix allows the initial terrain update to be set.  
							
							
							
						 
						
							2011-04-04 11:26:10 -07:00  
				
					
						
							
							
								 
						
							
							
								2d775f9a52 
								
							
								 
							
						 
						
							
							
								
								Disabled queue logging by default  
							
							
							
						 
						
							2011-04-01 10:37:39 -07:00  
				
					
						
							
							
								 
						
							
							
								2abffd867f 
								
							
								 
							
						 
						
							
							
								
								Fixed more bugs while merging in the functions from commit  5b79e15285.  
							
							
							
						 
						
							2011-03-31 16:45:12 -07:00  
				
					
						
							
							
								 
						
							
							
								8df517454d 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'dev' of ssh://sceneapi@island.sciencesim.com/home/sceneapi/sceneapi into dev  
							
							
							
						 
						
							2011-03-31 11:41:01 -07:00  
				
					
						
							
							
								 
						
							
							
								fa7a8fb9c1 
								
							
								 
							
						 
						
							
							
								
								Move event count from per connection to per event  
							
							
							
						 
						
							2011-03-31 10:22:46 -07:00  
				
					
						
							
							
								 
						
							
							
								170a230e51 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'dev' of ssh://sceneapi@island.sciencesim.com/home/sceneapi/sceneapi into dev  
							
							
							
						 
						
							2011-03-29 17:13:15 -07:00  
				
					
						
							
							
								 
						
							
							
								cce9a12dbe 
								
							
								 
							
						 
						
							
							
								
								Fixed a few bugs introduced by my last commit.  
							
							
							
						 
						
							2011-03-29 17:11:58 -07:00  
				
					
						
							
							
								 
						
							
							
								ecee306d3c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into dev  
							
							
							
						 
						
							2011-03-29 16:46:35 -07:00  
				
					
						
							
							
								 
						
							
							
								a0be3e2c5f 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://opensimulator.org/git/opensim  
							
							
							
						 
						
							2011-03-29 16:45:30 -07:00  
				
					
						
							
							
								 
						
							
							
								f7ed7fc05d 
								
							
								 
							
						 
						
							
							
								
								When a new parcel is created, make sure the prim counts are updated.  
							
							... 
							
							
							
							This is done by tainting the counts where appropriate 
							
						 
						
							2011-03-30 00:42:02 +01:00  
				
					
						
							
							
								 
						
							
							
								fe623f0900 
								
							
								 
							
						 
						
							
							
								
								Updated dev code to work with latest changes in opensim master  
							
							
							
						 
						
							2011-03-29 16:29:00 -07:00  
				
					
						
							
							
								 
						
							
							
								8b16f7d976 
								
							
								 
							
						 
						
							
							
								
								(re)implement selected prim count.  
							
							... 
							
							
							
							This does not currently count objects that are sat upon (which the viewer ui implies should be included in this count) 
							
						 
						
							2011-03-30 00:13:07 +01:00  
				
					
						
							
							
								 
						
							
							
								f89ae8700d 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into dev  
							
							
							
						 
						
							2011-03-29 16:04:55 -07:00  
				
					
						
							
							
								 
						
							
							
								8e6425dad7 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://opensimulator.org/git/opensim  
							
							
							
						 
						
							2011-03-29 16:04:06 -07:00  
				
					
						
							
							
								 
						
							
							
								f754dedbef 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'primcounts'  
							
							
							
						 
						
							2011-03-29 23:08:44 +01:00