diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 2718785..afe6daa 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1228,10 +1228,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
1228 | // viewers without (e.g. v1 viewers) will not, so we still need to make this call. | 1228 | // viewers without (e.g. v1 viewers) will not, so we still need to make this call. |
1229 | if (Scene.AttachmentsModule != null) | 1229 | if (Scene.AttachmentsModule != null) |
1230 | { | 1230 | { |
1231 | Util.FireAndForget(o => | 1231 | if (Watchdog.JobEngine.IsRunning) |
1232 | { | 1232 | Watchdog.RunWhenPossible( |
1233 | Scene.AttachmentsModule.RezAttachments(this); | 1233 | "RezAttachments", |
1234 | }); | 1234 | o => Scene.AttachmentsModule.RezAttachments(this), |
1235 | string.Format("Rez attachments for {0} in {1}", Name, Scene.Name), | ||
1236 | null); | ||
1237 | else | ||
1238 | Util.FireAndForget(o => Scene.AttachmentsModule.RezAttachments(this)); | ||
1235 | } | 1239 | } |
1236 | } | 1240 | } |
1237 | else | 1241 | else |