aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager/PhysicsScene.cs
diff options
context:
space:
mode:
authorMelanie2011-07-15 19:35:49 +0200
committerMelanie2011-07-15 19:35:49 +0200
commit8dff9d564dfbf4841f03a919df44e8ae3d76de25 (patch)
tree787a083ac9efc5e3a67f271e7fe6bc4a22d0ea94 /OpenSim/Region/Physics/Manager/PhysicsScene.cs
parentMerge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/ca... (diff)
downloadopensim-SC_OLD-8dff9d564dfbf4841f03a919df44e8ae3d76de25.zip
opensim-SC_OLD-8dff9d564dfbf4841f03a919df44e8ae3d76de25.tar.gz
opensim-SC_OLD-8dff9d564dfbf4841f03a919df44e8ae3d76de25.tar.bz2
opensim-SC_OLD-8dff9d564dfbf4841f03a919df44e8ae3d76de25.tar.xz
Revert "Add localid support to ch0de properly"
This reverts commit bb402d0d95c934fbcd8b1c03e228ec1d0a14f14d.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsScene.cs19
1 files changed, 12 insertions, 7 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsScene.cs b/OpenSim/Region/Physics/Manager/PhysicsScene.cs
index de22fae..13ea084 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsScene.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsScene.cs
@@ -77,16 +77,15 @@ namespace OpenSim.Region.Physics.Manager
77 77
78 public abstract void RemovePrim(PhysicsActor prim); 78 public abstract void RemovePrim(PhysicsActor prim);
79 79
80 //public abstract PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, Vector3 position,
81 // Vector3 size, Quaternion rotation); //To be removed - Actually removed!
82
83 public abstract PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, Vector3 position, 80 public abstract PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, Vector3 position,
84 Vector3 size, Quaternion rotation, bool isPhysical, uint localid); 81 Vector3 size, Quaternion rotation); //To be removed
82 public abstract PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, Vector3 position,
83 Vector3 size, Quaternion rotation, bool isPhysical);
85 84
86 public virtual PhysicsActor AddPrimShape(uint localID, string primName, PrimitiveBaseShape pbs, Vector3 position, 85 public virtual PhysicsActor AddPrimShape(uint localID, string primName, PrimitiveBaseShape pbs, Vector3 position,
87 Vector3 size, Quaternion rotation, bool isPhysical, uint localid) 86 Vector3 size, Quaternion rotation, bool isPhysical)
88 { 87 {
89 PhysicsActor ret = AddPrimShape(primName, pbs, position, size, rotation, isPhysical, localid); 88 PhysicsActor ret = AddPrimShape(primName, pbs, position, size, rotation, isPhysical);
90 89
91 if (ret != null) 90 if (ret != null)
92 ret.LocalID = localID; 91 ret.LocalID = localID;
@@ -263,7 +262,13 @@ namespace OpenSim.Region.Physics.Manager
263*/ 262*/
264 263
265 public override PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, Vector3 position, 264 public override PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, Vector3 position,
266 Vector3 size, Quaternion rotation, bool isPhysical, uint localid) 265 Vector3 size, Quaternion rotation) //To be removed
266 {
267 return AddPrimShape(primName, pbs, position, size, rotation, false);
268 }
269
270 public override PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, Vector3 position,
271 Vector3 size, Quaternion rotation, bool isPhysical)
267 { 272 {
268 m_log.InfoFormat("[PHYSICS]: NullPhysicsScene : AddPrim({0},{1})", position, size); 273 m_log.InfoFormat("[PHYSICS]: NullPhysicsScene : AddPrim({0},{1})", position, size);
269 return PhysicsActor.Null; 274 return PhysicsActor.Null;