diff options
author | Tedd Hansen | 2008-02-10 21:43:53 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-10 21:43:53 +0000 |
commit | f5cf5ad1349e1d8c1ecb15a45c7eb189585edc51 (patch) | |
tree | 64a48ea2876701df0f15f5f2e75ead2fd451befb /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs | |
parent | Untested bugfix in state support (diff) | |
download | opensim-SC-f5cf5ad1349e1d8c1ecb15a45c7eb189585edc51.zip opensim-SC-f5cf5ad1349e1d8c1ecb15a45c7eb189585edc51.tar.gz opensim-SC-f5cf5ad1349e1d8c1ecb15a45c7eb189585edc51.tar.bz2 opensim-SC-f5cf5ad1349e1d8c1ecb15a45c7eb189585edc51.tar.xz |
Bugfix on that last Quaternion/Vector patch
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs index 89921cd..984c184 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs | |||
@@ -260,10 +260,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
260 | 260 | ||
261 | // Replace <x,y,z> and <x,y,z,r> | 261 | // Replace <x,y,z> and <x,y,z,r> |
262 | Script = | 262 | Script = |
263 | Regex.Replace(Script, @"<([^,>;]*,[^,>;\)]*,[^,>;\)]*,[^,>;\)]*)>", @"new LSL_Types.Quaternion($1)", | 263 | Regex.Replace(Script, @"<([^,>;]*,[^,>;]*,[^,>;]*,[^,>;]*)>", @"new LSL_Types.Quaternion($1)", |
264 | RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); | 264 | RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); |
265 | Script = | 265 | Script = |
266 | Regex.Replace(Script, @"<([^,>;)]*,[^,>;\)]*,[^,>;\)]*)>", @"new LSL_Types.Vector3($1)", | 266 | Regex.Replace(Script, @"<([^,>;)]*,[^,>;]*,[^,>;]*)>", @"new LSL_Types.Vector3($1)", |
267 | RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); | 267 | RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); |
268 | 268 | ||
269 | // Replace List []'s | 269 | // Replace List []'s |