diff options
Diffstat (limited to 'OpenSim/Region')
-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); |