diff options
author | UbitUmarov | 2015-09-02 19:54:53 +0100 |
---|---|---|
committer | UbitUmarov | 2015-09-02 19:54:53 +0100 |
commit | a11edceb00b5b86f825bd957bdac9edb91f893dd (patch) | |
tree | c192eae26f3aadf365a66f32fc6d9ade2f0a0c61 /OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | |
parent | bad merge? (diff) | |
download | opensim-SC_OLD-a11edceb00b5b86f825bd957bdac9edb91f893dd.zip opensim-SC_OLD-a11edceb00b5b86f825bd957bdac9edb91f893dd.tar.gz opensim-SC_OLD-a11edceb00b5b86f825bd957bdac9edb91f893dd.tar.bz2 opensim-SC_OLD-a11edceb00b5b86f825bd957bdac9edb91f893dd.tar.xz |
seems to compile ( tests comented out)
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index 885559a..5fce15c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | |||
@@ -102,31 +102,19 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
102 | 102 | ||
103 | public override string ToString() | 103 | public override string ToString() |
104 | { | 104 | { |
105 | <<<<<<< HEAD | ||
106 | string s=String.Format(Culture.FormatProvider,"<{0:0.000000},{1:0.000000},{2:0.000000}>", x, y, z); | ||
107 | ======= | ||
108 | string s = String.Format(Culture.FormatProvider, "<{0:0.000000}, {1:0.000000}, {2:0.000000}>", x, y, z); | 105 | string s = String.Format(Culture.FormatProvider, "<{0:0.000000}, {1:0.000000}, {2:0.000000}>", x, y, z); |
109 | >>>>>>> avn/ubitvar | ||
110 | return s; | 106 | return s; |
111 | } | 107 | } |
112 | 108 | ||
113 | public static explicit operator LSLString(Vector3 vec) | 109 | public static explicit operator LSLString(Vector3 vec) |
114 | { | 110 | { |
115 | <<<<<<< HEAD | ||
116 | string s=String.Format(Culture.FormatProvider,"<{0:0.000000},{1:0.000000},{2:0.000000}>", vec.x, vec.y, vec.z); | ||
117 | ======= | ||
118 | string s = String.Format("<{0:0.000000}, {1:0.000000}, {2:0.000000}>", vec.x, vec.y, vec.z); | 111 | string s = String.Format("<{0:0.000000}, {1:0.000000}, {2:0.000000}>", vec.x, vec.y, vec.z); |
119 | >>>>>>> avn/ubitvar | ||
120 | return new LSLString(s); | 112 | return new LSLString(s); |
121 | } | 113 | } |
122 | 114 | ||
123 | public static explicit operator string(Vector3 vec) | 115 | public static explicit operator string(Vector3 vec) |
124 | { | 116 | { |
125 | <<<<<<< HEAD | ||
126 | string s=String.Format(Culture.FormatProvider,"<{0:0.000000},{1:0.000000},{2:0.000000}>", vec.x, vec.y, vec.z); | ||
127 | ======= | ||
128 | string s = String.Format("<{0:0.000000}, {1:0.000000}, {2:0.000000}>", vec.x, vec.y, vec.z); | 117 | string s = String.Format("<{0:0.000000}, {1:0.000000}, {2:0.000000}>", vec.x, vec.y, vec.z); |
129 | >>>>>>> avn/ubitvar | ||
130 | return s; | 118 | return s; |
131 | } | 119 | } |
132 | 120 | ||
@@ -727,17 +715,10 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
727 | private void ExtendAndAdd(object o) | 715 | private void ExtendAndAdd(object o) |
728 | { | 716 | { |
729 | object[] tmp; | 717 | object[] tmp; |
730 | <<<<<<< HEAD | ||
731 | tmp = new object[Data.Length + 1]; | 718 | tmp = new object[Data.Length + 1]; |
732 | Data.CopyTo(tmp, 0); | 719 | Data.CopyTo(tmp, 0); |
733 | tmp.SetValue(o, tmp.Length - 1); | 720 | tmp.SetValue(o, tmp.Length - 1); |
734 | Data = tmp; | 721 | Data = tmp; |
735 | ======= | ||
736 | tmp = new object[m_data.Length + 1]; | ||
737 | m_data.CopyTo(tmp, 0); | ||
738 | tmp.SetValue(o, tmp.Length - 1); | ||
739 | m_data = tmp; | ||
740 | >>>>>>> avn/ubitvar | ||
741 | } | 722 | } |
742 | 723 | ||
743 | public static list operator +(list a, LSLString s) | 724 | public static list operator +(list a, LSLString s) |