diff options
author | Justin Clark-Casey (justincc) | 2011-08-24 22:37:08 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-24 22:37:08 +0100 |
commit | d5dc8133fc05ef682c1caa8dc6b587608de7c384 (patch) | |
tree | 0a13a59625643ba35f296c859ec0f07ab0bcb841 /OpenSim/Region/Framework/Scenes | |
parent | refactor: simplify EntityBase.IsDeleted property (diff) | |
download | opensim-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
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
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 | ||