diff options
author | BlueWall | 2013-12-20 05:43:17 -0500 |
---|---|---|
committer | BlueWall | 2014-03-25 11:10:48 -0400 |
commit | 14836e60ff09f0e20dc25802130c4e142c4ba350 (patch) | |
tree | a8b29538c6ba681776fcf42a1815f7cc82d0d854 | |
parent | Sync code that has moved in development branch with changes in master (diff) | |
download | opensim-SC-14836e60ff09f0e20dc25802130c4e142c4ba350.zip opensim-SC-14836e60ff09f0e20dc25802130c4e142c4ba350.tar.gz opensim-SC-14836e60ff09f0e20dc25802130c4e142c4ba350.tar.bz2 opensim-SC-14836e60ff09f0e20dc25802130c4e142c4ba350.tar.xz |
Fix issue with user picks creation. The snapshot id is UUID.Zero in new parcels.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs | 6 |
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); |