aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/POSPlugin
diff options
context:
space:
mode:
authorDiva Canto2011-12-21 15:17:44 -0800
committerDiva Canto2011-12-21 15:17:44 -0800
commitbb0c6a498bfbd5fe42b287e5b79b15a887b88600 (patch)
treecc97171a5264a64dad3ece91e0f090ea4cf45d9d /OpenSim/Region/Physics/POSPlugin
parentMoved an external test into the method that uses those preconditions. (diff)
parentRemove unused SetAcceleration and add set on Acceleration parameter (diff)
downloadopensim-SC_OLD-bb0c6a498bfbd5fe42b287e5b79b15a887b88600.zip
opensim-SC_OLD-bb0c6a498bfbd5fe42b287e5b79b15a887b88600.tar.gz
opensim-SC_OLD-bb0c6a498bfbd5fe42b287e5b79b15a887b88600.tar.bz2
opensim-SC_OLD-bb0c6a498bfbd5fe42b287e5b79b15a887b88600.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Physics/POSPlugin')
-rw-r--r--OpenSim/Region/Physics/POSPlugin/POSCharacter.cs6
-rw-r--r--OpenSim/Region/Physics/POSPlugin/POSPrim.cs6
2 files changed, 2 insertions, 10 deletions
diff --git a/OpenSim/Region/Physics/POSPlugin/POSCharacter.cs b/OpenSim/Region/Physics/POSPlugin/POSCharacter.cs
index a70179b..ae534ea 100644
--- a/OpenSim/Region/Physics/POSPlugin/POSCharacter.cs
+++ b/OpenSim/Region/Physics/POSPlugin/POSCharacter.cs
@@ -231,6 +231,7 @@ namespace OpenSim.Region.Physics.POSPlugin
231 public override Vector3 Acceleration 231 public override Vector3 Acceleration
232 { 232 {
233 get { return _acceleration; } 233 get { return _acceleration; }
234 set { _acceleration = value; }
234 } 235 }
235 236
236 public override bool Kinematic 237 public override bool Kinematic
@@ -251,11 +252,6 @@ namespace OpenSim.Region.Physics.POSPlugin
251 { 252 {
252 } 253 }
253 254
254 public void SetAcceleration(Vector3 accel)
255 {
256 _acceleration = accel;
257 }
258
259 public override void AddForce(Vector3 force, bool pushforce) 255 public override void AddForce(Vector3 force, bool pushforce)
260 { 256 {
261 } 257 }
diff --git a/OpenSim/Region/Physics/POSPlugin/POSPrim.cs b/OpenSim/Region/Physics/POSPlugin/POSPrim.cs
index 91ec3df..e4fd7eb 100644
--- a/OpenSim/Region/Physics/POSPlugin/POSPrim.cs
+++ b/OpenSim/Region/Physics/POSPlugin/POSPrim.cs
@@ -193,6 +193,7 @@ namespace OpenSim.Region.Physics.POSPlugin
193 public override Vector3 Acceleration 193 public override Vector3 Acceleration
194 { 194 {
195 get { return _acceleration; } 195 get { return _acceleration; }
196 set { _acceleration = value; }
196 } 197 }
197 198
198 public override bool Kinematic 199 public override bool Kinematic
@@ -201,11 +202,6 @@ namespace OpenSim.Region.Physics.POSPlugin
201 set { } 202 set { }
202 } 203 }
203 204
204 public void SetAcceleration(Vector3 accel)
205 {
206 _acceleration = accel;
207 }
208
209 public override void AddForce(Vector3 force, bool pushforce) 205 public override void AddForce(Vector3 force, bool pushforce)
210 { 206 {
211 } 207 }