diff options
author | Diva Canto | 2015-06-05 09:47:36 -0700 |
---|---|---|
committer | Diva Canto | 2015-06-05 09:47:36 -0700 |
commit | cc22d81b4d3e16f1d186d9012e97062654abefb0 (patch) | |
tree | 041e12f71534aacbd9fb57c9d357933ff492e10b /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Mantis #7603 -- bad folders in inventory could produce null pointer exception... (diff) | |
download | opensim-SC_OLD-cc22d81b4d3e16f1d186d9012e97062654abefb0.zip opensim-SC_OLD-cc22d81b4d3e16f1d186d9012e97062654abefb0.tar.gz opensim-SC_OLD-cc22d81b4d3e16f1d186d9012e97062654abefb0.tar.bz2 opensim-SC_OLD-cc22d81b4d3e16f1d186d9012e97062654abefb0.tar.xz |
The only purpose of this commit is to remove an erroneous comment. It turns out that rezzing the attachments is necessary in modern viewers too. Proof: commenting the lines below the comment results in no attachments seen in the avatar.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 0c320ff..687a23c 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1224,11 +1224,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1224 | // haven't started yet. | 1224 | // haven't started yet. |
1225 | if (PresenceType == PresenceType.Npc || IsRealLogin(m_teleportFlags)) | 1225 | if (PresenceType == PresenceType.Npc || IsRealLogin(m_teleportFlags)) |
1226 | { | 1226 | { |
1227 | // Viewers which have a current outfit folder will actually rez their own attachments. However, | ||
1228 | // viewers without (e.g. v1 viewers) will not, so we still need to make this call. | ||
1229 | WorkManager.RunJob( | 1227 | WorkManager.RunJob( |
1230 | "RezAttachments", | 1228 | "RezAttachments", |
1231 | o => Scene.AttachmentsModule.RezAttachments(this), | 1229 | o => Scene.AttachmentsModule.RezAttachments(this), |
1232 | null, | 1230 | null, |
1233 | string.Format("Rez attachments for {0} in {1}", Name, Scene.Name)); | 1231 | string.Format("Rez attachments for {0} in {1}", Name, Scene.Name)); |
1234 | } | 1232 | } |