diff options
author | Justin Clark-Casey (justincc) | 2011-07-21 03:10:28 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-21 03:10:28 +0100 |
commit | 703d130e965339a2432ff9619721f02206be7d24 (patch) | |
tree | fb5d58135d6e7af00d773b7dd54d4e26586523c7 /OpenSim/Region/Physics/OdePlugin | |
parent | make default TextureOnMapTile true for the older map imager (diff) | |
parent | Removed unused AddPrimShape methods in PhysicsScene caused by merge conflicts (diff) | |
download | opensim-SC_OLD-703d130e965339a2432ff9619721f02206be7d24.zip opensim-SC_OLD-703d130e965339a2432ff9619721f02206be7d24.tar.gz opensim-SC_OLD-703d130e965339a2432ff9619721f02206be7d24.tar.bz2 opensim-SC_OLD-703d130e965339a2432ff9619721f02206be7d24.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdeScene.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs index 6fda32d..a307469 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs | |||
@@ -1677,7 +1677,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1677 | } | 1677 | } |
1678 | 1678 | ||
1679 | private PhysicsActor AddPrim(String name, Vector3 position, Vector3 size, Quaternion rotation, | 1679 | private PhysicsActor AddPrim(String name, Vector3 position, Vector3 size, Quaternion rotation, |
1680 | IMesh mesh, PrimitiveBaseShape pbs, bool isphysical) | 1680 | IMesh mesh, PrimitiveBaseShape pbs, bool isphysical, uint localID) |
1681 | { | 1681 | { |
1682 | Vector3 pos = position; | 1682 | Vector3 pos = position; |
1683 | Vector3 siz = size; | 1683 | Vector3 siz = size; |
@@ -1691,7 +1691,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1691 | lock (_prims) | 1691 | lock (_prims) |
1692 | _prims.Add(newPrim); | 1692 | _prims.Add(newPrim); |
1693 | } | 1693 | } |
1694 | 1694 | newPrim.LocalID = localID; | |
1695 | return newPrim; | 1695 | return newPrim; |
1696 | } | 1696 | } |
1697 | 1697 | ||
@@ -1733,7 +1733,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1733 | // } | 1733 | // } |
1734 | // } | 1734 | // } |
1735 | 1735 | ||
1736 | result = AddPrim(primName, position, size, rotation, mesh, pbs, isPhysical); | 1736 | result = AddPrim(primName, position, size, rotation, mesh, pbs, isPhysical, localid); |
1737 | 1737 | ||
1738 | return result; | 1738 | return result; |
1739 | } | 1739 | } |