aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-24 22:37:08 +0100
committerJustin Clark-Casey (justincc)2011-08-24 22:37:08 +0100
commitd5dc8133fc05ef682c1caa8dc6b587608de7c384 (patch)
tree0a13a59625643ba35f296c859ec0f07ab0bcb841
parentrefactor: simplify EntityBase.IsDeleted property (diff)
downloadopensim-SC_OLD-d5dc8133fc05ef682c1caa8dc6b587608de7c384.zip
opensim-SC_OLD-d5dc8133fc05ef682c1caa8dc6b587608de7c384.tar.gz
opensim-SC_OLD-d5dc8133fc05ef682c1caa8dc6b587608de7c384.tar.bz2
opensim-SC_OLD-d5dc8133fc05ef682c1caa8dc6b587608de7c384.tar.xz
remove pointless IsDeleted check on SP.RezAttachments()
IsDeleted is never set for an SP, even though it's on EntityBase. It might be an idea to set it in the future
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index def4ecb..fc89473 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3809,9 +3809,6 @@ namespace OpenSim.Region.Framework.Scenes
3809 List<AvatarAttachment> attachments = m_appearance.GetAttachments(); 3809 List<AvatarAttachment> attachments = m_appearance.GetAttachments();
3810 foreach (AvatarAttachment attach in attachments) 3810 foreach (AvatarAttachment attach in attachments)
3811 { 3811 {
3812 if (IsDeleted)
3813 return;
3814
3815 int p = attach.AttachPoint; 3812 int p = attach.AttachPoint;
3816 UUID itemID = attach.ItemID; 3813 UUID itemID = attach.ItemID;
3817 3814