aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-04-27 20:10:28 +0000
committerTeravus Ovares2008-04-27 20:10:28 +0000
commit911e63765c7cea748b5ae2227f5c1d6ff131d329 (patch)
treef95eeffb4974a9b3f6ded4a46bdc240278a336b0 /OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
parentMinor svn, formatting cleanup. (diff)
downloadopensim-SC_OLD-911e63765c7cea748b5ae2227f5c1d6ff131d329.zip
opensim-SC_OLD-911e63765c7cea748b5ae2227f5c1d6ff131d329.tar.gz
opensim-SC_OLD-911e63765c7cea748b5ae2227f5c1d6ff131d329.tar.bz2
opensim-SC_OLD-911e63765c7cea748b5ae2227f5c1d6ff131d329.tar.xz
* Single Attachments now work from inventory. You can attach from inventory and detach from inventory.
* Detaching from right clicking in world, detaches to your inventory. * If you go up to a prim and attach it from in world, it appears in your inventory. * Attachment placement is saved when you detach them. * Choosing wear remembers your last attachment point from inventory. * Wrote a method to update an inventory item's asset and sends the updated inventory item to the Client * Wrote a recursive method to find the folder of a known existing inventory item. * Removed a block on physics object position on creation. This might crash a region or two, let us know via Mantis if your region crashes because of a physics out of bounds error. * Drop doesn't work. The menu item doesn't even come up. Don't know why :P.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODEPrim.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs32
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;