aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-04-13 22:25:23 +0000
committerJustin Clarke Casey2008-04-13 22:25:23 +0000
commit7dec345d9a9da40d67072eb9b2b2194887d972ea (patch)
tree1c7c4a489735a30b2b728247fdf029f29034a38a /OpenSim
parent* Put in crude poll waiting for 60 seconds for delayed user inventory deliver... (diff)
downloadopensim-SC-7dec345d9a9da40d67072eb9b2b2194887d972ea.zip
opensim-SC-7dec345d9a9da40d67072eb9b2b2194887d972ea.tar.gz
opensim-SC-7dec345d9a9da40d67072eb9b2b2194887d972ea.tar.bz2
opensim-SC-7dec345d9a9da40d67072eb9b2b2194887d972ea.tar.xz
* Temporarily, stop the exception of mantis #951 from killing the entire client session.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index 939bd8f..9fe2144 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -3265,7 +3265,19 @@ namespace OpenSim.Region.ClientStack
3265 handlerSetAppearance = OnSetAppearance; 3265 handlerSetAppearance = OnSetAppearance;
3266 if (handlerSetAppearance != null) 3266 if (handlerSetAppearance != null)
3267 { 3267 {
3268 handlerSetAppearance(appear.ObjectData.TextureEntry, appear.VisualParam); 3268 // Temporarily protect ourselves from the mantis #951 failure.
3269 // However, we could do this for several other handlers where a failure isn't terminal
3270 // for the client session anyway, in order to protect ourselves against bad code in plugins
3271 try
3272 {
3273 handlerSetAppearance(appear.ObjectData.TextureEntry, appear.VisualParam);
3274 }
3275 catch (Exception e)
3276 {
3277 m_log.ErrorFormat(
3278 "[CLIENT VIEW]: AgentSetApperance packet handler threw an exception, {0}",
3279 e);
3280 }
3269 } 3281 }
3270 3282
3271 break; 3283 break;