aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorBlueWall2013-12-20 05:43:17 -0500
committerBlueWall2014-03-25 11:10:48 -0400
commit14836e60ff09f0e20dc25802130c4e142c4ba350 (patch)
treea8b29538c6ba681776fcf42a1815f7cc82d0d854
parentSync code that has moved in development branch with changes in master (diff)
downloadopensim-SC_OLD-14836e60ff09f0e20dc25802130c4e142c4ba350.zip
opensim-SC_OLD-14836e60ff09f0e20dc25802130c4e142c4ba350.tar.gz
opensim-SC_OLD-14836e60ff09f0e20dc25802130c4e142c4ba350.tar.bz2
opensim-SC_OLD-14836e60ff09f0e20dc25802130c4e142c4ba350.tar.xz
Fix issue with user picks creation. The snapshot id is UUID.Zero in new parcels.
-rw-r--r--OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs b/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs
index 015e2d0..b15dcf8 100644
--- a/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs
@@ -612,12 +612,6 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
612 "Error selecting pick", false); 612 "Error selecting pick", false);
613 } 613 }
614 pick = (UserProfilePick) Pick; 614 pick = (UserProfilePick) Pick;
615 if(pick.SnapshotId == UUID.Zero)
616 {
617 // In case of a new UserPick, the data may not be ready and we would send wrong data, skip it...
618 m_log.DebugFormat("[PROFILES]: PickInfoRequest: SnapshotID is {0}", UUID.Zero.ToString());
619 return;
620 }
621 615
622 Vector3 globalPos; 616 Vector3 globalPos;
623 Vector3.TryParse(pick.GlobalPos,out globalPos); 617 Vector3.TryParse(pick.GlobalPos,out globalPos);