diff options
author | Teravus Ovares (Dan Olivares) | 2009-08-28 14:45:17 -0400 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-08-28 14:45:17 -0400 |
commit | ac718843d92df3b512c4b9194bc05940ab064faf (patch) | |
tree | e594a16d6a0e8006d353a50d4910f81a628928b3 /OpenSim/Region/Framework/Scenes/Border.cs | |
parent | Merge branch 'master' of ssh://MyConnection/var/git/opensim (diff) | |
download | opensim-SC_OLD-ac718843d92df3b512c4b9194bc05940ab064faf.zip opensim-SC_OLD-ac718843d92df3b512c4b9194bc05940ab064faf.tar.gz opensim-SC_OLD-ac718843d92df3b512c4b9194bc05940ab064faf.tar.bz2 opensim-SC_OLD-ac718843d92df3b512c4b9194bc05940ab064faf.tar.xz |
* Allow corner prim crossings. Previously this was only on a single cardinal direction
* Some leg work in getting avatar teleports into 'virtual regions' moved to the proper region.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Border.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Border.cs | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Border.cs b/OpenSim/Region/Framework/Scenes/Border.cs index 19ecb4f..9a08afe 100644 --- a/OpenSim/Region/Framework/Scenes/Border.cs +++ b/OpenSim/Region/Framework/Scenes/Border.cs | |||
@@ -34,7 +34,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
34 | { | 34 | { |
35 | public class Border | 35 | public class Border |
36 | { | 36 | { |
37 | 37 | ||
38 | /// <summary> | 38 | /// <summary> |
39 | /// Line perpendicular to the Direction Cardinal. Z value is the | 39 | /// Line perpendicular to the Direction Cardinal. Z value is the |
40 | /// </summary> | 40 | /// </summary> |
@@ -125,6 +125,25 @@ namespace OpenSim.Region.Framework.Scenes | |||
125 | return result; | 125 | return result; |
126 | } | 126 | } |
127 | 127 | ||
128 | public float Extent | ||
129 | { | ||
130 | get | ||
131 | { | ||
132 | switch (CrossDirection) | ||
133 | { | ||
134 | case Cardinals.N: | ||
135 | break; | ||
136 | case Cardinals.S: | ||
137 | break; | ||
138 | case Cardinals.W: | ||
139 | break; | ||
140 | case Cardinals.E: | ||
141 | break; | ||
142 | } | ||
143 | return 0; | ||
144 | } | ||
145 | } | ||
146 | |||
128 | } | 147 | } |
129 | 148 | ||
130 | 149 | ||