aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
authorSignpostMarv2012-08-16 15:32:20 +0100
committerJustin Clark-Casey (justincc)2012-08-17 23:08:24 +0100
commit74f5253a366cefa5222a813f4ed349db93c08acc (patch)
tree6f7ca7e96420e4228a1f34879a6d1b4953f20040 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC-74f5253a366cefa5222a813f4ed349db93c08acc.zip
opensim-SC-74f5253a366cefa5222a813f4ed349db93c08acc.tar.gz
opensim-SC-74f5253a366cefa5222a813f4ed349db93c08acc.tar.bz2
opensim-SC-74f5253a366cefa5222a813f4ed349db93c08acc.tar.xz
attempt to handle InvalidCastException in a manner similar to Second Life
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index b7b5e8e..255fc8e 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7674,6 +7674,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7674 } 7674 }
7675 } 7675 }
7676 } 7676 }
7677 catch (InvalidCastException e)
7678 {
7679 ShoutError(e.Message);
7680 }
7677 finally 7681 finally
7678 { 7682 {
7679 if (positionChanged) 7683 if (positionChanged)