diff options
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODEPrim.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index 5a5cf59..cf2e694 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | |||
@@ -150,22 +150,22 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
150 | _velocity = new PhysicsVector(); | 150 | _velocity = new PhysicsVector(); |
151 | _position = pos; | 151 | _position = pos; |
152 | m_taintposition = pos; | 152 | m_taintposition = pos; |
153 | if (_position.X > 257) | 153 | //if (_position.X > 257) |
154 | { | 154 | //{ |
155 | _position.X = 257; | 155 | //_position.X = 257; |
156 | } | 156 | //} |
157 | if (_position.X < 0) | 157 | //if (_position.X < 0) |
158 | { | 158 | //{ |
159 | _position.X = 0; | 159 | //_position.X = 0; |
160 | } | 160 | //} |
161 | if (_position.Y > 257) | 161 | //if (_position.Y > 257) |
162 | { | 162 | //{ |
163 | _position.Y = 257; | 163 | //_position.Y = 257; |
164 | } | 164 | //} |
165 | if (_position.Y < 0) | 165 | //if (_position.Y < 0) |
166 | { | 166 | //{ |
167 | _position.Y = 0; | 167 | // _position.Y = 0; |
168 | } | 168 | //} |
169 | 169 | ||
170 | prim_geom = (IntPtr)0; | 170 | prim_geom = (IntPtr)0; |
171 | prev_geom = (IntPtr)0; | 171 | prev_geom = (IntPtr)0; |