aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/UbitOdePlugin
diff options
context:
space:
mode:
authorMelanie2012-03-12 11:45:38 +0100
committerMelanie2012-03-12 11:45:38 +0100
commitbfd38ecad49dc9976e816b484bb9e2a1c729b1cb (patch)
treeef3ca09b6ba1880f3ed3d5f914a5a5e0030f8dca /OpenSim/Region/Physics/UbitOdePlugin
parentAdd AVATAR_MALE flag to return values of llGetAgentInfo (diff)
parentallocate UndoRedoStore only on demand (diff)
downloadopensim-SC_OLD-bfd38ecad49dc9976e816b484bb9e2a1c729b1cb.zip
opensim-SC_OLD-bfd38ecad49dc9976e816b484bb9e2a1c729b1cb.tar.gz
opensim-SC_OLD-bfd38ecad49dc9976e816b484bb9e2a1c729b1cb.tar.bz2
opensim-SC_OLD-bfd38ecad49dc9976e816b484bb9e2a1c729b1cb.tar.xz
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin')
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs23
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs1
2 files changed, 18 insertions, 6 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs
index 5d8f03c..39b89d3 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs
@@ -2487,14 +2487,25 @@ namespace OpenSim.Region.Physics.OdePlugin
2487 if (!childPrim && Body != IntPtr.Zero && !m_disabled) 2487 if (!childPrim && Body != IntPtr.Zero && !m_disabled)
2488 d.BodyEnable(Body); 2488 d.BodyEnable(Body);
2489 2489
2490 m_collisionCategories = CollisionCategories.Geom; 2490 if (m_isphantom && !m_isVolumeDetect)
2491 if (m_isphysical) 2491 {
2492 m_collisionCategories |= CollisionCategories.Body; 2492 m_collisionCategories = 0;
2493 if(m_isphysical)
2494 m_collisionFlags = CollisionCategories.Land;
2495 else
2496 m_collisionFlags = 0;
2497 }
2498 else
2499 {
2500 m_collisionCategories = CollisionCategories.Geom;
2501 if (m_isphysical)
2502 m_collisionCategories |= CollisionCategories.Body;
2493 2503
2494 m_collisionFlags = m_default_collisionFlags | CollisionCategories.Land; 2504 m_collisionFlags = m_default_collisionFlags | CollisionCategories.Land;
2495 2505
2496 if (m_collidesWater) 2506 if (m_collidesWater)
2497 m_collisionFlags |= CollisionCategories.Water; 2507 m_collisionFlags |= CollisionCategories.Water;
2508 }
2498 2509
2499 if (!childPrim) 2510 if (!childPrim)
2500 { 2511 {
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
index b111172..612eafd 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
@@ -128,6 +128,7 @@ namespace OpenSim.Region.Physics.OdePlugin
128 VolumeDtc, 128 VolumeDtc,
129 129
130 Physical, 130 Physical,
131 Phantom,
131 Selected, 132 Selected,
132 disabled, 133 disabled,
133 building, 134 building,