From 7157398d77dbf626e0f4390a557eb03ad63d96ab Mon Sep 17 00:00:00 2001 From: "Huaiyu (Kitty) Liu" Date: Mon, 2 May 2011 16:39:03 -0700 Subject: [PATCH] For debugging shape not sync'ed properly problem: adding back debug messages in CompareHashedValue_UpdateByLocal SetSOPPropertyValue --- .../RegionSyncModule/SymmetricSync/RegionSyncModule.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs b/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs index 1c0da4dd44..aa0b3f07c4 100644 --- a/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs +++ b/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs @@ -5204,7 +5204,8 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule UpdatePropertySyncInfoByLocal(property, lastUpdateTS, syncID, (Object)primShapeString, primShapeStringHash); //DSG DEBUG - //DebugLog.DebugFormat("CompareHashedValue_UpdateByLocal - Shape of {0}, {1}, updated: hashed value {2}", part.Name, part.UUID, m_propertiesSyncInfo[property].LastUpdateValueHash); + DebugLog.DebugFormat("CompareHashedValue_UpdateByLocal - Shape of {0}, {1} updated: SOP hashed shape: {2}, cached hash {3}", + part.Name, part.UUID, primShapeStringHash, m_propertiesSyncInfo[property].LastUpdateValueHash); updated = true; } @@ -6569,11 +6570,11 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule if (shapeVal != null) { part.Shape = shapeVal; - /* + String hashedShape = Util.Md5Hash((PropertySerializer.SerializeShape(part))); DebugLog.DebugFormat("prim type of SOP {0}, {1}, changed, hashed shape = {2} in SOP, = {3} in PrimSyncInfoManager", part.Name, part.UUID, hashedShape, pSyncInfo.LastUpdateValueHash); - * */ + } else {