aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
index 6c78ef8..65b1b5c 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -102,7 +102,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
102 return new Vector3(s); 102 return new Vector3(s);
103 } 103 }
104 104
105 public static explicit operator list(Vector3 vec) 105 public static implicit operator list(Vector3 vec)
106 { 106 {
107 return new list(new object[] { vec }); 107 return new list(new object[] { vec });
108 } 108 }
@@ -356,7 +356,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
356 return new Quaternion(s); 356 return new Quaternion(s);
357 } 357 }
358 358
359 public static explicit operator list(Quaternion r) 359 public static implicit operator list(Quaternion r)
360 { 360 {
361 return new list(new object[] { r }); 361 return new list(new object[] { r });
362 } 362 }
@@ -1404,7 +1404,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
1404 return new LSLFloat(Convert.ToDouble(s.m_string)); 1404 return new LSLFloat(Convert.ToDouble(s.m_string));
1405 } 1405 }
1406 1406
1407 public static explicit operator list(LSLString s) 1407 public static implicit operator list(LSLString s)
1408 { 1408 {
1409 return new list(new object[]{s}); 1409 return new list(new object[]{s});
1410 } 1410 }
@@ -1503,7 +1503,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
1503 return new LSLString(i.ToString()); 1503 return new LSLString(i.ToString());
1504 } 1504 }
1505 1505
1506 public static explicit operator list(LSLInteger i) 1506 public static implicit operator list(LSLInteger i)
1507 { 1507 {
1508 return new list(new object[] { i }); 1508 return new list(new object[] { i });
1509 } 1509 }
@@ -1796,7 +1796,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
1796 return new LSLFloat(double.Parse(v)); 1796 return new LSLFloat(double.Parse(v));
1797 } 1797 }
1798 1798
1799 public static explicit operator list(LSLFloat f) 1799 public static implicit operator list(LSLFloat f)
1800 { 1800 {
1801 return new list(new object[] { f }); 1801 return new list(new object[] { f });
1802 } 1802 }