made localID fix to AddPrimShape in PEScene.cs

dsg
Dan Lake 2011-07-20 14:43:19 -07:00
parent 90562f0735
commit 5171f3adf7
1 changed files with 1 additions and 6 deletions

View File

@ -86,12 +86,7 @@ public class PEScene : PhysicsScene
} }
public override PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, Vector3 position, public override PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, Vector3 position,
Vector3 size, Quaternion rotation) // deprecated Vector3 size, Quaternion rotation, bool isPhysical, uint localID)
{
return null;
}
public override PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, Vector3 position,
Vector3 size, Quaternion rotation, bool isPhysical)
{ {
PEPrim prim = new PEPrim(primName, this, position, size, rotation, null, pbs, isPhysical, null); PEPrim prim = new PEPrim(primName, this, position, size, rotation, null, pbs, isPhysical, null);
lock (m_prims) m_prims.Add(prim); lock (m_prims) m_prims.Add(prim);