diff options
author | SignpostMarv | 2012-08-18 15:10:44 +0100 |
---|---|---|
committer | Melanie | 2012-08-18 18:29:59 +0100 |
commit | ffdde05bb7d3d2ca71807c3197411bf66c29aa45 (patch) | |
tree | 92ff2cf019f13ac9a895a34c7b2aca5a57c89c74 /OpenSim/Region/ScriptEngine/XEngine/EventManager.cs | |
parent | implicit operators mean one does not need to instantiate new objects manually (diff) | |
download | opensim-SC_OLD-ffdde05bb7d3d2ca71807c3197411bf66c29aa45.zip opensim-SC_OLD-ffdde05bb7d3d2ca71807c3197411bf66c29aa45.tar.gz opensim-SC_OLD-ffdde05bb7d3d2ca71807c3197411bf66c29aa45.tar.bz2 opensim-SC_OLD-ffdde05bb7d3d2ca71807c3197411bf66c29aa45.tar.xz |
constructor means not having to manually refer to individual properties
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/EventManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/EventManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs b/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs index a1ad07d..cee10df 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs | |||
@@ -391,8 +391,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
391 | myScriptEngine.PostObjectEvent(localID, new EventParams( | 391 | myScriptEngine.PostObjectEvent(localID, new EventParams( |
392 | "at_rot_target", new object[] { | 392 | "at_rot_target", new object[] { |
393 | new LSL_Types.LSLInteger(handle), | 393 | new LSL_Types.LSLInteger(handle), |
394 | new LSL_Types.Quaternion(targetrot.X,targetrot.Y,targetrot.Z,targetrot.W), | 394 | new LSL_Types.Quaternion(targetrot), |
395 | new LSL_Types.Quaternion(atrot.X,atrot.Y,atrot.Z,atrot.W) }, | 395 | new LSL_Types.Quaternion(atrot) }, |
396 | new DetectParams[0])); | 396 | new DetectParams[0])); |
397 | } | 397 | } |
398 | 398 | ||